Package io.undertow.server.handlers
Interface Cookie
- All Known Implementing Classes:
CookieImpl
public interface Cookie
A HTTP cookie.
- Author:
- Stuart Douglas
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetName()getPath()default StringgetValue()intbooleanbooleandefault booleanbooleanisSecure()setComment(String comment) setDiscard(boolean discard) setExpires(Date expires) setHttpOnly(boolean httpOnly) default CookiesetSameSite(boolean sameSite) default CookiesetSameSiteMode(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
-