java.lang.Object | ||
↳ | org.apache.http.impl.cookie.BasicClientCookie | |
↳ | org.apache.http.impl.cookie.BasicClientCookie2 |
Default implementation of SetCookie2
.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface org.apache.http.cookie.ClientCookie |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Default Constructor taking a name and a value.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns null.
| |||||||||||
Returns null.
| |||||||||||
Returns true if this cookie has expired.
| |||||||||||
Returns false if the cookie should be discarded at the end
of the "session"; true otherwise.
| |||||||||||
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.
| |||||||||||
Set the Discard attribute.
| |||||||||||
Sets the Port attribute.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class org.apache.http.impl.cookie.BasicClientCookie | |||||||||||
From class
java.lang.Object
| |||||||||||
From interface org.apache.http.cookie.ClientCookie | |||||||||||
From interface org.apache.http.cookie.Cookie | |||||||||||
From interface org.apache.http.cookie.SetCookie | |||||||||||
From interface org.apache.http.cookie.SetCookie2 |
Default Constructor taking a name and a value. The value may be null.
name | The name. |
---|---|
value | The value. |
Returns null. Cookies prior to RFC2965 do not set this attribute
Returns null. Cookies prior to RFC2965 do not set this attribute
Returns true if this cookie has expired.
date | Current time |
---|
Returns false if the cookie should be discarded at the end of the "session"; true otherwise.
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.
Set the Discard attribute. Note: Discard attribute overrides Max-age.
Sets the Port attribute. It restricts the ports to which a cookie may be returned in a Cookie request header.