org.apache.http.cookie.CookieSpec implementation.
Rendered obsolete by org..
org.apache.http.impl.cookie.RFC6265StrictSpec
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final String[] | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| private List | |
| private List | |
| protected void | formatCookieAsVer(final CharArrayBuffer
The char array buffer to use for output buffer, final Cookie The cookie, final int Cookie to be formatted as stringThe version to use. version)Return a string suitable for sending in a |
| public List | formatCookies(final List<Cookie>
the Cookies format into a Cookie header cookies)Implements org. "Cookie" headers for an array of Cookies.
|
| protected void | formatParamAsVer(final CharArrayBuffer
The char array buffer to use for output buffer, final String The cookie name name, final String The cookie value value, final int The cookie version version)Return a name/value string suitable for sending in a |
| public int | getVersion()
Implements org. |
| public Header | getVersionHeader()
Implements org. |
| public List | parse(final Header
the header, final CookieOrigin Set-Cookie received from the serverdetails of the cookie origin origin)Implements org. "Set-Cookie" Header into an array of Cookies.
|
| public String | |
| public void | validate(final Cookie
the Cookie to validate cookie, final CookieOrigin details of the cookie origin origin)Overrides org. Implements org. |
| DATE_PATTERNS | back to summary |
|---|---|
| pack-priv static final String[] DATE_PATTERNS | |
| oneHeader | back to summary |
|---|---|
| private final boolean oneHeader | |
| RFC2109Spec | back to summary |
|---|---|
| public RFC2109Spec(final String[] datepatterns, final boolean oneHeader) Default constructor | |
| RFC2109Spec | back to summary |
|---|---|
| public RFC2109Spec() Default constructor | |
| RFC2109Spec | back to summary |
|---|---|
| protected RFC2109Spec(final boolean oneHeader, final CommonCookieAttributeHandler... handlers) | |
| doFormatManyHeaders | back to summary |
|---|---|
| private List | |
| doFormatOneHeader | back to summary |
|---|---|
| private List | |
| formatCookieAsVer | back to summary |
|---|---|
| protected void formatCookieAsVer(final CharArrayBuffer buffer, final Cookie cookie, final int version) Return a string suitable for sending in a
| |
| formatCookies | back to summary |
|---|---|
| public List Implements org. Doc from org. Create | |
| formatParamAsVer | back to summary |
|---|---|
| protected void formatParamAsVer(final CharArrayBuffer buffer, final String name, final String value, final int version) Return a name/value string suitable for sending in a
| |
| getVersion | back to summary |
|---|---|
| public int getVersion() Implements org. Doc from org. Returns version of the state management this cookie specification conforms to.
| |
| getVersionHeader | back to summary |
|---|---|
| public Header getVersionHeader() Implements org. Doc from org. Returns a request header identifying what version of the state management
specification is understood. May be
| |
| parse | back to summary |
|---|---|
| public List Implements org. Doc from org. Parse the This method will not perform the validation of the resultant
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| validate | back to summary |
|---|---|
| public void validate(final Cookie cookie, final CookieOrigin origin) throws MalformedCookieException Overrides org. Implements org. Doc from org. Validate the cookie according to validation rules defined by the cookie specification.
| |