io.netty.handler.codec.http.cookie.DefaultCookie instead.@Deprecated public class DefaultCookie extends DefaultCookie implements Cookie
Cookie implementation.| 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.
|
int |
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, isSecure, maxAge, name, path, setDomain, setHttpOnly, setMaxAge, setPath, setSecure, setValue, setWrap, toString, validateValue, value, wrapclone, finalize, getClass, notify, notifyAll, wait, wait, waitdomain, isHttpOnly, isSecure, name, path, setDomain, setHttpOnly, setPath, setSecure, setValue, setWrap, value, wrapcompareTo@Deprecated public String getName()
@Deprecated public String getValue()
@Deprecated public String getDomain()
@Deprecated public String getPath()
@Deprecated public String getComment()
@Deprecated public String comment()
CookieCookie.Cookie@Deprecated public void setComment(String comment)
CookieCookie.comment - The comment to use@Deprecated public String getCommentUrl()
@Deprecated public String commentUrl()
CookieCookie.Cookie@Deprecated public void setCommentUrl(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 Set<Integer> getPorts()
@Deprecated public Set<Integer> ports()
CookieCookie can be accessed on.@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(Iterable<Integer> ports)
CookieCookie can be accessed on.@Deprecated public int getMaxAge()
@Deprecated public int getVersion()
@Deprecated public int version()
CookieCookie.Cookie@Deprecated public void setVersion(int version)
CookieCookie.version - The new version to useCopyright © 2008-2016 The Netty Project. All Rights Reserved.