public interface Cookie
Connectors
Modifier and Type | Method and Description |
---|---|
String | getComment() |
String | getDomain() |
Date | getExpires() |
Integer | getMaxAge() |
String | getName() |
String | getPath() |
default String | getSameSiteMode() |
String | getValue() |
int | getVersion() |
boolean | isDiscard() |
boolean | isHttpOnly() |
default boolean | isSameSite() |
boolean | isSecure() |
Cookie | setComment(String comment) |
Cookie | setDiscard(boolean discard) |
Cookie | setDomain(String domain) |
Cookie | setExpires(Date expires) |
Cookie | setHttpOnly(boolean httpOnly) |
Cookie | setMaxAge(Integer maxAge) |
Cookie | setPath(String path) |
default Cookie | setSameSite(boolean sameSite) |
default Cookie | setSameSiteMode(String sameSiteMode) |
Cookie | setSecure(boolean secure) |
Cookie | setValue(String value) |
Cookie | setVersion(int version) |
String getName()
String getValue()
String getPath()
String getDomain()
Integer getMaxAge()
boolean isDiscard()
Cookie setDiscard(boolean discard)
boolean isSecure()
Cookie setSecure(boolean secure)
int getVersion()
Cookie setVersion(int version)
boolean isHttpOnly()
Cookie setHttpOnly(boolean httpOnly)
Date getExpires()
String getComment()
default boolean isSameSite()
default Cookie setSameSite(boolean sameSite)
default String getSameSiteMode()
Copyright © 2020 JBoss by Red Hat. All rights reserved.