DefaultCookie
。
@Deprecated public class DefaultCookie extends DefaultCookie implements Cookie
Cookie
实现。
UNDEFINED_MAX_AGE
Constructor and Description |
---|
DefaultCookie(java.lang.String name, java.lang.String value)
已过时。
用指定的名称和值创建一个新的cookie。
|
Modifier and Type | Method and Description |
---|---|
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, 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
- 要使用的评论
@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
- 要使用的评论URL
@Deprecated public void setDiscard(boolean discard)
Cookie
discard
- 如果要丢弃Cookie
,则返回true
@Deprecated public java.util.Set<java.lang.Integer> getPorts()
@Deprecated public java.util.Set<java.lang.Integer> ports()
Cookie
Cookie
的端口。
Set
这个端口Cookie
可以使用
@Deprecated public void setPorts(int... ports)
Cookie
Cookie
的端口。
ports
- 可以访问此Cookie
的端口
@Deprecated public void setPorts(java.lang.Iterable<java.lang.Integer> ports)
Cookie
Cookie
的端口。
ports
-该Iterable
集合,这个端口Cookie
可以访问的。
@Deprecated public long getMaxAge()
@Deprecated public int getVersion()
Copyright © 2008–2018 The Netty Project. All rights reserved.