DefaultCookie instead.@Deprecated public class DefaultCookie extends DefaultCookie implements Cookie
Cookie implementation.UNDEFINED_MAX_AGE| 构造器和说明 |
|---|
DefaultCookie(java.lang.String name,
java.lang.String value)
已过时。
Creates a new cookie with the specified name and value.
|
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
comment()
已过时。
|
java.lang.String |
commentUrl()
已过时。
|
java.lang.String |
getComment()
已过时。
|
java.lang.String |
getCommentUrl()
已过时。
|
java.lang.String |
getDomain()
已过时。
|
long |
getMaxAge()
已过时。
|
java.lang.String |
getName()
已过时。
|
java.lang.String |
getPath()
已过时。
|
java.util.Set<java.lang.Integer> |
getPorts()
已过时。
|
java.lang.String |
getValue()
已过时。
|
int |
getVersion()
已过时。
|
boolean |
isDiscard()
已过时。
|
java.util.Set<java.lang.Integer> |
ports()
已过时。
|
void |
setComment(java.lang.String comment)
已过时。
|
void |
setCommentUrl(java.lang.String commentUrl)
已过时。
|
void |
setDiscard(boolean discard)
已过时。
|
void |
setPorts(int... ports)
已过时。
|
void |
setPorts(java.lang.Iterable<java.lang.Integer> ports)
已过时。
|
void |
setVersion(int version)
已过时。
|
int |
version()
已过时。
|
compareTo, domain, equals, hashCode, isHttpOnly, isPartitioned, isSecure, maxAge, name, path, sameSite, setDomain, setHttpOnly, setMaxAge, setPartitioned, setPath, setSameSite, setSecure, setValue, setWrap, toString, validateValue, value, wrappublic DefaultCookie(java.lang.String name,
java.lang.String value)
@Deprecated public java.lang.String getName()
@Deprecated public java.lang.String getValue()
@Deprecated public java.lang.String getDomain()
@Deprecated public java.lang.String getPath()
@Deprecated public java.lang.String getComment()
@Deprecated public java.lang.String comment()
CookieCookie.Cookie@Deprecated public void setComment(java.lang.String comment)
CookieCookie.comment - The comment to use@Deprecated public java.lang.String getCommentUrl()
@Deprecated public java.lang.String commentUrl()
CookieCookie.Cookie@Deprecated public void setCommentUrl(java.lang.String commentUrl)
CookieCookie.commentUrl - The comment URL to use@Deprecated public boolean isDiscard()
CookieCookie is to be discarded by the browser
at the end of the current session.Cookie is to be discarded, otherwise false@Deprecated public void setDiscard(boolean discard)
CookieCookie.
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 public java.util.Set<java.lang.Integer> getPorts()
@Deprecated public java.util.Set<java.lang.Integer> ports()
CookieCookie can be accessed on.Set of ports that this Cookie can use@Deprecated public void setPorts(int... ports)
CookieCookie can be accessed on.ports - The ports that this Cookie can be accessed on@Deprecated public void setPorts(java.lang.Iterable<java.lang.Integer> ports)
CookieCookie can be accessed on.ports - The Iterable collection of ports that this
Cookie can be accessed on.@Deprecated public long getMaxAge()
@Deprecated public int getVersion()
@Deprecated public int version()
CookieCookie.Cookie