GeezerVison is showing netty.io — Cookie (Netty API Reference (4.1.141.Final))
Interface Cookie
-
Field Summary
Fields inherited from interface Cookie
UNDEFINED_MAX_AGE
Modifier and Type
Field
Description
static final long
Constant for undefined MaxAge attribute value.
-
Method Summary
Modifier and Type
Method
Description
Deprecated.
Not part of RFC6265
Deprecated.
Not part of RFC6265
long
int
boolean
Deprecated.
Not part of RFC6265
long
Deprecated.
Not part of RFC6265
Deprecated.
Not part of RFC6265
void
Deprecated.
Not part of RFC6265
void
Deprecated.
Not part of RFC6265
void
Deprecated.
Not part of RFC6265
void
Deprecated.
Not part of RFC6265
void
Deprecated.
Not part of RFC6265
void
Deprecated.
Not part of RFC6265
void
Deprecated.
Not part of RFC6265
int
Deprecated.
Not part of RFC6265
Methods inherited from interface Cookie
domain, isHttpOnly, isSecure, name, path, setDomain, setHttpOnly, setPath, setSecure, setValue, setWrap, value, wrap
Modifier and Type
Method
Description
Returns the domain of this
Cookie.
boolean
Checks to see if this
Cookie can only be accessed via HTTP.
boolean
Checks to see if this
Cookie is secure
Returns the name of this
Cookie.
Returns the path of this
Cookie.
void
Sets the domain of this
Cookie.
void
Determines if this
Cookie is HTTP only.
void
void
Sets the security getStatus of this
Cookie
void
Sets the value of this
Cookie.
void
Sets true if the value of this
Cookie
is to be wrapped with double quotes.
Returns the value of this
Cookie.
boolean
Returns true if the raw value of this
Cookie,
was wrapped with double quotes in original Set-Cookie header.
-
Method Details
-
-
-
-
-
-
comment
Deprecated.
Not part of RFC6265
Returns the comment of this
Cookie.
- Returns:
- The comment of this
Cookie
-
setComment
Deprecated.
Not part of RFC6265
Sets the comment of this
Cookie.
- Parameters:
comment - The comment to use
-
-
maxAge
Deprecated.
Not part of RFC6265
- Specified by:
maxAge in interface Cookie
- Returns:
- The maximum age of this
Cookie
-
setMaxAge
Deprecated.
Not part of RFC6265
Sets the maximum age of this
Cookie in seconds.
If an age of
0 is specified, this
Cookie will be
automatically removed by browser because it will expire immediately.
If
Long.MIN_VALUE is specified, this
Cookie will be removed when the
browser is closed.
- Specified by:
setMaxAge in interface Cookie
- Parameters:
maxAge - The maximum age of this Cookie in seconds
-
-
version
Deprecated.
Not part of RFC6265
Returns the version of this
Cookie.
- Returns:
- The version of this
Cookie
-
setVersion
Deprecated.
Not part of RFC6265
Sets the version of this
Cookie.
- Parameters:
version - The new version to use
-
-
commentUrl
Deprecated.
Not part of RFC6265
Returns the comment URL of this
Cookie.
- Returns:
- The comment URL of this
Cookie
-
setCommentUrl
Deprecated.
Not part of RFC6265
Sets the comment URL of this
Cookie.
- Parameters:
commentUrl - The comment URL to use
-
isDiscard
Deprecated.
Not part of RFC6265
Checks to see if this
Cookie is to be discarded by the browser
at the end of the current session.
- Returns:
- True if this
Cookie is to be discarded, otherwise false
-
setDiscard
Deprecated.
Not part of RFC6265
Sets the discard flag of this
Cookie.
If set to true, this
Cookie will be discarded by the browser
at the end of the current session
- Parameters:
discard - True if the Cookie is to be discarded
-
-
ports
Deprecated.
Not part of RFC6265
Returns the ports that this
Cookie can be accessed on.
- Returns:
- The
Set of ports that this Cookie can use
-
setPorts
Deprecated.
Not part of RFC6265
Sets the ports that this
Cookie can be accessed on.
- Parameters:
ports - The ports that this Cookie can be accessed on
-
setPorts
Deprecated.
Not part of RFC6265
Sets the ports that this
Cookie can be accessed on.
- Parameters:
ports - The Iterable collection of ports that this
Cookie can be accessed on.