Cookie
instead.@Deprecated public interface Cookie extends Cookie
Modifier and Type | Method and Description |
---|---|
String |
comment()
Deprecated.
Not part of RFC6265
|
String |
commentUrl()
Deprecated.
Not part of RFC6265
|
String |
getComment()
Deprecated.
Use
comment() instead. |
String |
getCommentUrl()
Deprecated.
Use
commentUrl() instead. |
String |
getDomain()
Deprecated.
Use
Cookie.domain() instead. |
int |
getMaxAge()
Deprecated.
Use
maxAge() instead. |
String |
getName()
Deprecated.
Use
Cookie.name() instead. |
String |
getPath()
Deprecated.
Use
Cookie.path() instead. |
Set<Integer> |
getPorts()
Deprecated.
Use
ports() instead. |
String |
getValue()
Deprecated.
Use
Cookie.value() instead. |
int |
getVersion()
Deprecated.
Use
version() instead. |
boolean |
isDiscard()
Deprecated.
Not part of RFC6265
|
int |
maxAge()
Deprecated.
Not part of RFC6265
|
Set<Integer> |
ports()
Deprecated.
Not part of RFC6265
|
void |
setComment(String comment)
Deprecated.
Not part of RFC6265
|
void |
setCommentUrl(String commentUrl)
Deprecated.
Not part of RFC6265
|
void |
setDiscard(boolean discard)
Deprecated.
Not part of RFC6265
|
void |
setMaxAge(int maxAge)
Deprecated.
Not part of RFC6265
|
void |
setPorts(int... ports)
Deprecated.
Not part of RFC6265
|
void |
setPorts(Iterable<Integer> ports)
Deprecated.
Not part of RFC6265
|
void |
setVersion(int version)
Deprecated.
Not part of RFC6265
|
int |
version()
Deprecated.
Not part of RFC6265
|
domain, isHttpOnly, isSecure, name, path, setDomain, setHttpOnly, setPath, setSecure, setValue, setWrap, value, wrap
compareTo
@Deprecated String getName()
Cookie.name()
instead.@Deprecated String getValue()
Cookie.value()
instead.@Deprecated String getDomain()
Cookie.domain()
instead.@Deprecated String getPath()
Cookie.path()
instead.@Deprecated String getComment()
comment()
instead.@Deprecated String comment()
Cookie
.Cookie
@Deprecated void setComment(String comment)
Cookie
.comment
- The comment to use@Deprecated int getMaxAge()
maxAge()
instead.@Deprecated int maxAge()
Cookie
in seconds or Integer.MIN_VALUE
if unspecified@Deprecated void setMaxAge(int maxAge)
Cookie
in seconds.
If an age of 0
is specified, this Cookie
will be
automatically removed by browser because it will expire immediately.
If Integer.MIN_VALUE
is specified, this Cookie
will be removed when the
browser is closed.@Deprecated int getVersion()
version()
instead.@Deprecated int version()
Cookie
.Cookie
@Deprecated void setVersion(int version)
Cookie
.version
- The new version to use@Deprecated String getCommentUrl()
commentUrl()
instead.@Deprecated String commentUrl()
Cookie
.Cookie
@Deprecated void setCommentUrl(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 Set<Integer> getPorts()
ports()
instead.@Deprecated Set<Integer> ports()
Cookie
can be accessed on.@Deprecated void setPorts(int... ports)
Cookie
can be accessed on.ports
- The ports that this Cookie
can be accessed onCopyright © 2008-2015 The Netty Project. All Rights Reserved.