java.lang.Object | |
↳ | org.apache.http.impl.cookie.BestMatchSpec |
'Meta' cookie specification that selects a cookie policy depending on the format of the cookie(s)
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create "Cookie" headers for an array of Cookies.
| |||||||||||
Returns version of the state management this cookie specification
conforms to.
| |||||||||||
Returns a request header identifying what version of the state management
specification is understood.
| |||||||||||
Determines if a Cookie matches the target location.
| |||||||||||
Parse the "Set-Cookie" Header into an array of Cookies.
| |||||||||||
Validate the cookie according to validation rules defined by the
cookie specification.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object
| |||||||||||
From interface org.apache.http.cookie.CookieSpec |
Create "Cookie" headers for an array of Cookies.
cookies | the Cookies format into a Cookie header |
---|
Returns version of the state management this cookie specification conforms to.
Returns a request header identifying what version of the state management
specification is understood. May be null
if the cookie
specification does not support Cookie2 header.
Determines if a Cookie matches the target location.
cookie | the Cookie to be matched |
---|---|
origin | the target to test against |
Parse the "Set-Cookie" Header into an array of Cookies.
This method will not perform the validation of the resultant Cookies
header | the Set-Cookie received from the server |
---|---|
origin | details of the cookie origin |
MalformedCookieException |
---|
Validate the cookie according to validation rules defined by the cookie specification.
cookie | the Cookie to validate |
---|---|
origin | details of the cookie origin |
MalformedCookieException |
---|