Package | Description |
---|---|
org.apache.http.cookie |
Client HTTP state management APIs.
|
org.apache.http.impl.cookie |
Default implementations of standard and common HTTP state
management policies.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ClientCookie.COMMENT_ATTR |
static java.lang.String |
ClientCookie.COMMENTURL_ATTR |
static java.lang.String |
ClientCookie.DISCARD_ATTR |
static java.lang.String |
ClientCookie.PORT_ATTR |
static java.lang.String |
ClientCookie.VERSION_ATTR |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
Cookie.getComment()
Returns the comment describing the purpose of this cookie, or
null if no such comment has been defined. |
java.lang.String |
Cookie.getCommentURL()
If a user agent (web browser) presents this cookie to a user, the
cookie's purpose will be described by the information at this URL.
|
int[] |
Cookie.getPorts()
Get the Port attribute.
|
int |
Cookie.getVersion()
Returns the version of the cookie specification to which this
cookie conforms.
|
int |
CookieSpec.getVersion()
Returns version of the state management this cookie specification
conforms to.
|
Header |
CookieSpec.getVersionHeader()
Returns a request header identifying what version of the state management
specification is understood.
|
void |
SetCookie.setComment(java.lang.String comment)
If a user agent (web browser) presents this cookie to a user, the
cookie's purpose will be described using this comment.
|
void |
SetCookie2.setCommentURL(java.lang.String commentURL)
If a user agent (web browser) presents this cookie to a user, the
cookie's purpose will be described by the information at this URL.
|
void |
SetCookie2.setDiscard(boolean discard)
Set the Discard attribute.
|
void |
SetCookie2.setPorts(int[] ports)
Sets the Port attribute.
|
void |
SetCookie.setVersion(int version)
Sets the version of the cookie specification to which this
cookie conforms.
|
Modifier and Type | Class and Description |
---|---|
class |
NetscapeDraftSpec
This
CookieSpec implementation conforms to
the original draft specification published by Netscape Communications. |
class |
NetscapeDraftSpecProvider
CookieSpecProvider implementation that provides an instance of
NetscapeDraftSpec . |
class |
RFC2109Spec
RFC 2109 compliant
CookieSpec implementation. |
class |
RFC2109SpecProvider
CookieSpecProvider implementation that provides an instance of
RFC2109Spec . |
class |
RFC2965Spec
RFC 2965 compliant
CookieSpec implementation. |
class |
RFC2965SpecProvider
CookieSpecProvider implementation that provides an instance of
RFC2965Spec . |