Package io.undertow.server.handlers
Interface Cookie
-
- All Known Implementing Classes:
CookieImpl,ServletCookieAdaptor
public interface CookieA HTTP cookie.- Author:
- Stuart Douglas
- See Also:
Connectors
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetComment()StringgetDomain()DategetExpires()IntegergetMaxAge()StringgetName()StringgetPath()StringgetValue()intgetVersion()booleanisDiscard()booleanisHttpOnly()booleanisSecure()CookiesetComment(String comment)CookiesetDiscard(boolean discard)CookiesetDomain(String domain)CookiesetExpires(Date expires)CookiesetHttpOnly(boolean httpOnly)CookiesetMaxAge(Integer maxAge)CookiesetPath(String path)CookiesetSecure(boolean secure)CookiesetValue(String value)CookiesetVersion(int version)
-
-
-
Method Detail
-
getName
String getName()
-
getValue
String getValue()
-
getPath
String getPath()
-
getDomain
String getDomain()
-
getMaxAge
Integer getMaxAge()
-
isDiscard
boolean isDiscard()
-
setDiscard
Cookie setDiscard(boolean discard)
-
isSecure
boolean isSecure()
-
setSecure
Cookie setSecure(boolean secure)
-
getVersion
int getVersion()
-
setVersion
Cookie setVersion(int version)
-
isHttpOnly
boolean isHttpOnly()
-
setHttpOnly
Cookie setHttpOnly(boolean httpOnly)
-
getExpires
Date getExpires()
-
getComment
String getComment()
-
-