DefaultCookie
instead.@Deprecated public class DefaultCookie extends DefaultCookie implements Cookie
Cookie
implementation.UNDEFINED_MAX_AGE
Constructor and Description |
---|
DefaultCookie(String name,
String value)
Deprecated.
Creates a new cookie with the specified name and value.
|
Modifier and Type | Method and Description |
---|---|
String |
comment()
Deprecated.
|
String |
commentUrl()
Deprecated.
|
String |
getComment()
Deprecated.
|
String |
getCommentUrl()
Deprecated.
|
String |
getDomain()
Deprecated.
|
long |
getMaxAge()
Deprecated.
|
String |
getName()
Deprecated.
|
String |
getPath()
Deprecated.
|
Set<Integer> |
getPorts()
Deprecated.
|
String |
getValue()
Deprecated.
|
int |
getVersion()
Deprecated.
|
boolean |
isDiscard()
Deprecated.
|
Set<Integer> |
ports()
Deprecated.
|
void |
setComment(String comment)
Deprecated.
|
void |
setCommentUrl(String commentUrl)
Deprecated.
|
void |
setDiscard(boolean discard)
Deprecated.
|
void |
setPorts(int... ports)
Deprecated.
|
void |
setPorts(Iterable<Integer> ports)
Deprecated.
|
void |
setVersion(int version)
Deprecated.
|
int |
version()
Deprecated.
|
compareTo, domain, equals, hashCode, isHttpOnly, isPartitioned, isSecure, maxAge, name, path, sameSite, setDomain, setHttpOnly, setMaxAge, setPartitioned, setPath, setSameSite, setSecure, setValue, setWrap, toString, validateValue, value, wrap
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
domain, isHttpOnly, isSecure, name, path, setDomain, setHttpOnly, setPath, setSecure, setValue, setWrap, value, wrap
compareTo
@Deprecated public String getName()
@Deprecated public String getValue()
@Deprecated public String getDomain()
@Deprecated public String getPath()
@Deprecated public String getComment()
@Deprecated public String comment()
Cookie
Cookie
.Cookie
@Deprecated public void setComment(String comment)
Cookie
Cookie
.comment
- The comment to use@Deprecated public String getCommentUrl()
@Deprecated public String commentUrl()
Cookie
Cookie
.Cookie
@Deprecated public void setCommentUrl(String commentUrl)
Cookie
Cookie
.commentUrl
- The comment URL to use@Deprecated public boolean isDiscard()
Cookie
Cookie
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)
Cookie
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 public Set<Integer> getPorts()
@Deprecated public Set<Integer> ports()
Cookie
Cookie
can be accessed on.@Deprecated public void setPorts(int... ports)
Cookie
Cookie
can be accessed on.ports
- The ports that this Cookie
can be accessed on@Deprecated public void setPorts(Iterable<Integer> ports)
Cookie
Cookie
can be accessed on.@Deprecated public long getMaxAge()
@Deprecated public int getVersion()
@Deprecated public int version()
Cookie
Cookie
.Cookie
@Deprecated public void setVersion(int version)
Cookie
Cookie
.version
- The new version to useCopyright © 2008–2024 The Netty Project. All rights reserved.