- All Superinterfaces:
Header
- All Known Implementing Classes:
SetCookieCodec.SetCookie
- Enclosing class:
- Headers
Set-cookie HTTP header as defined by RFC 6265 Section 4.1.
- Since:
- 1.0
- Author:
- Jeremy Kuhn
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturns the cookie max age.Returns the cookie expires value.Returns the cookie max age.getName()Returns the cookie name.getPath()Returns the cookie path.getValue()Returns the cookie value.Returns the cookie HTTP only flag.isSecure()Returns the cookie secure flag.Methods inherited from interface io.inverno.mod.http.base.header.Header
getHeaderName, getHeaderValue
-
Field Details
-
EXPIRES
Expires parameter- See Also:
-
MAX_AGE
Max-Age parameter- See Also:
-
DOMAIN
Domain parameter- See Also:
-
PATH
Path parameter- See Also:
-
SECURE
Secure parameter- See Also:
-
HTTPONLY
HttpOnly parameter- See Also:
-
-
Method Details
-
getName
String getName()Returns the cookie name.
- Returns:
- the cookie name or null
-
getValue
String getValue()Returns the cookie value.
- Returns:
- the cookie value or null
-
getExpires
String getExpires()Returns the cookie expires value.
- Returns:
- the cookie expires value or null
-
getMaxAge
Integer getMaxAge()Returns the cookie max age.
- Returns:
- the cookie max age or null
-
getDomain
String getDomain()Returns the cookie max age.
- Returns:
- the cookie max age or null
-
getPath
String getPath()Returns the cookie path.
- Returns:
- the cookie path or null
-
isSecure
Boolean isSecure()Returns the cookie secure flag.
- Returns:
- the cookie secure flag or null
-
isHttpOnly
Boolean isHttpOnly()Returns the cookie HTTP only flag.
- Returns:
- the cookie HTTP only flag or null
-