public interface Cookie extends Comparable
Connectors
Modifier and Type | Method and Description |
---|---|
default int |
compareTo(Object other) |
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 mode) |
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()
default int compareTo(Object other)
compareTo
in interface Comparable
Copyright © 2021 JBoss by Red Hat. All rights reserved.