Cookie
instead.@Deprecated public interface Cookie extends Cookie
UNDEFINED_MAX_AGE
Modifier and Type | Method and Description |
---|---|
java.lang.String |
comment()
Deprecated.
Not part of RFC6265
|
java.lang.String |
commentUrl()
Deprecated.
Not part of RFC6265
|
java.lang.String |
getComment()
Deprecated.
Use
comment() instead. |
java.lang.String |
getCommentUrl()
Deprecated.
Use
commentUrl() instead. |
java.lang.String |
getDomain()
Deprecated.
Use
Cookie.domain() instead. |
long |
getMaxAge()
Deprecated.
Use
maxAge() instead. |
java.lang.String |
getName()
Deprecated.
Use
Cookie.name() instead. |
java.lang.String |
getPath()
Deprecated.
Use
Cookie.path() instead. |
java.util.Set<java.lang.Integer> |
getPorts()
Deprecated.
Use
ports() instead. |
java.lang.String |
getValue()
Deprecated.
Use
Cookie.value() instead. |
int |
getVersion()
Deprecated.
Use
version() instead. |
boolean |
isDiscard()
Deprecated.
Not part of RFC6265
|
long |
maxAge()
Deprecated.
Not part of RFC6265
|
java.util.Set<java.lang.Integer> |
ports()
Deprecated.
Not part of RFC6265
|
void |
setComment(java.lang.String comment)
Deprecated.
Not part of RFC6265
|
void |
setCommentUrl(java.lang.String commentUrl)
Deprecated.
Not part of RFC6265
|
void |
setDiscard(boolean discard)
Deprecated.
Not part of RFC6265
|
void |
setMaxAge(long maxAge)
Deprecated.
Not part of RFC6265
|
void |
setPorts(int... ports)
Deprecated.
Not part of RFC6265
|
void |
setPorts(java.lang.Iterable<java.lang.Integer> ports)
Deprecated.
Not part of RFC6265
|
void |
setVersion(int version)
Deprecated.
Not part of RFC6265
|
int |
version()
Deprecated.
Not part of RFC6265
|
@Deprecated java.lang.String getName()
Cookie.name()
instead.@Deprecated java.lang.String getValue()
Cookie.value()
instead.@Deprecated java.lang.String getDomain()
Cookie.domain()
instead.@Deprecated java.lang.String getPath()
Cookie.path()
instead.@Deprecated java.lang.String getComment()
comment()
instead.@Deprecated java.lang.String comment()
Cookie
.Cookie
@Deprecated void setComment(java.lang.String comment)
Cookie
.comment
- The comment to use@Deprecated long getMaxAge()
maxAge()
instead.@Deprecated long maxAge()
Cookie
in seconds or Long.MIN_VALUE
if unspecified@Deprecated void setMaxAge(long maxAge)
@Deprecated int getVersion()
version()
instead.@Deprecated int version()
Cookie
.Cookie
@Deprecated void setVersion(int version)
Cookie
.version
- The new version to use@Deprecated java.lang.String getCommentUrl()
commentUrl()
instead.@Deprecated java.lang.String commentUrl()
Cookie
.Cookie
@Deprecated void setCommentUrl(java.lang.String commentUrl)
Cookie
.commentUrl
- The comment URL to use@Deprecated boolean isDiscard()
Cookie
is to be discarded by the browser
at the end of the current session.Cookie
is to be discarded, otherwise false@Deprecated void setDiscard(boolean discard)
Cookie
.
If set to true, this Cookie
will be discarded by the browser
at the end of the current sessiondiscard
- True if the Cookie
is to be discarded@Deprecated java.util.Set<java.lang.Integer> getPorts()
ports()
instead.@Deprecated java.util.Set<java.lang.Integer> ports()
Cookie
can be accessed on.Set
of ports that this Cookie
can use@Deprecated void setPorts(int... ports)
Cookie
can be accessed on.ports
- The ports that this Cookie
can be accessed onCopyright © 2008–2018 The Netty Project. All rights reserved.