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