Package io.undertow.server.handlers
Interface Cookie
- All Superinterfaces:
Comparable
- All Known Implementing Classes:
CookieImpl
A HTTP cookie.
- Author:
- Stuart Douglas
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault int
getName()
getPath()
default String
getValue()
int
boolean
boolean
default boolean
boolean
isSecure()
setComment
(String comment) setDiscard
(boolean discard) setExpires
(Date expires) setHttpOnly
(boolean httpOnly) default Cookie
setSameSite
(boolean sameSite) default Cookie
setSameSiteMode
(String mode) setSecure
(boolean secure) setVersion
(int version)
-
Method Details
-
getName
String getName() -
getValue
String getValue() -
setValue
-
getPath
String getPath() -
setPath
-
getDomain
String getDomain() -
setDomain
-
getMaxAge
Integer getMaxAge() -
setMaxAge
-
isDiscard
boolean isDiscard() -
setDiscard
-
isSecure
boolean isSecure() -
setSecure
-
getVersion
int getVersion() -
setVersion
-
isHttpOnly
boolean isHttpOnly() -
setHttpOnly
-
getExpires
Date getExpires() -
setExpires
-
getComment
String getComment() -
setComment
-
isSameSite
default boolean isSameSite() -
setSameSite
-
getSameSiteMode
-
setSameSiteMode
-
compareTo
- Specified by:
compareTo
in interfaceComparable
-