| Modifier and Type | Field and Description |
|---|---|
| private final NetscapeDraftSpec | |
| private final RFC2109Spec | |
| private final RFC2965Spec |
| Access | Constructor and Description |
|---|---|
| pack-priv | DefaultCookieSpec(final RFC2965Spec strict, final RFC2109Spec obsoleteStrict, final NetscapeDraftSpec netscapeDraft)
|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public List | formatCookies(final List<Cookie>
the Cookies format into a Cookie header cookies)Implements org. "Cookie" headers for an array of Cookies.
|
| public int | getVersion()
Implements org. |
| public Header | getVersionHeader()
Implements org. |
| public boolean | match(final Cookie
the Cookie to be matched cookie, final CookieOrigin the target to test against origin)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)Implements org. |
| netscapeDraft | back to summary |
|---|---|
| private final NetscapeDraftSpec netscapeDraft | |
| obsoleteStrict | back to summary |
|---|---|
| private final RFC2109Spec obsoleteStrict | |
| strict | back to summary |
|---|---|
| private final RFC2965Spec strict | |
| DefaultCookieSpec | back to summary |
|---|---|
| pack-priv DefaultCookieSpec(final RFC2965Spec strict, final RFC2109Spec obsoleteStrict, final NetscapeDraftSpec netscapeDraft) | |
| DefaultCookieSpec | back to summary |
|---|---|
| public DefaultCookieSpec(final String[] datepatterns, final boolean oneHeader) | |
| DefaultCookieSpec | back to summary |
|---|---|
| public DefaultCookieSpec() | |
| formatCookies | back to summary |
|---|---|
| public List Implements org. Doc from org. Create | |
| 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
| |
| match | back to summary |
|---|---|
| public boolean match(final Cookie cookie, final CookieOrigin origin) Implements org. Doc from org. Determines if a Cookie matches the target location.
| |
| 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 Implements org. Doc from org. Validate the cookie according to validation rules defined by the cookie specification.
| |