Class DefaultCookie
java.lang.Object
org.jboss.netty.handler.codec.http.cookie.DefaultCookie
org.jboss.netty.handler.codec.http.DefaultCookie
- All Implemented Interfaces:
Comparable<Cookie>, Cookie, Cookie
Deprecated.
The default
Cookie implementation.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefaultCookie(String name, String value) Deprecated.Creates a new cookie with the specified name and value. -
Method Summary
Modifier and TypeMethodDescriptioncomment()Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.intDeprecated.getName()Deprecated.getPath()Deprecated.getPorts()Deprecated.getValue()Deprecated.intDeprecated.booleanDeprecated.ports()Deprecated.voidsetComment(String comment) Deprecated.voidsetCommentUrl(String commentUrl) Deprecated.voidsetDiscard(boolean discard) Deprecated.voidsetPorts(int... ports) Deprecated.voidDeprecated.voidsetVersion(int version) Deprecated.intversion()Deprecated.Methods inherited from class DefaultCookie
compareTo, domain, equals, hashCode, isHttpOnly, isSecure, maxAge, name, path, setDomain, setHttpOnly, setMaxAge, setPath, setSecure, setValue, setWrap, toString, validateValue, value, wrapMethods inherited from interface Comparable
compareTo
-
Field Details
-
comment
Deprecated. -
commentUrl
Deprecated. -
discard
private boolean discardDeprecated. -
ports
-
unmodifiablePorts
-
version
private int versionDeprecated.
-
-
Constructor Details
-
DefaultCookie
-
-
Method Details
-
getName
-
getValue
-
getDomain
-
getPath
-
getComment
-
comment
-
setComment
Deprecated.Description copied from interface:CookieSets the comment of thisCookie.- Specified by:
setCommentin interfaceCookie- Parameters:
comment- The comment to use
-
getCommentUrl
Deprecated.- Specified by:
getCommentUrlin interfaceCookie
-
commentUrl
Deprecated.Description copied from interface:CookieReturns the comment URL of thisCookie.- Specified by:
commentUrlin interfaceCookie- Returns:
- The comment URL of this
Cookie
-
setCommentUrl
Deprecated.Description copied from interface:CookieSets the comment URL of thisCookie.- Specified by:
setCommentUrlin interfaceCookie- Parameters:
commentUrl- The comment URL to use
-
isDiscard
-
setDiscard
-
getPorts
-
ports
-
setPorts
-
setPorts
-
getMaxAge
-
getVersion
-
version
-
setVersion
Deprecated.Description copied from interface:CookieSets the version of thisCookie.- Specified by:
setVersionin interfaceCookie- Parameters:
version- The new version to use
-
invalid reference