Known Direct Subclasses
|
Class Overview
RFC 2109 compliant CookieSpec
implementation. This is an older
version of the official HTTP state management specification superseded
by RFC 2965.
Summary
Protected Methods |
void
|
formatCookieAsVer(CharArrayBuffer buffer, Cookie cookie, int version)
Return a string suitable for sending in a "Cookie" header
as defined in RFC 2109 for backward compatibility with cookie version 0
|
void
|
formatParamAsVer(CharArrayBuffer buffer, String name, String value, int version)
Return a name/value string suitable for sending in a "Cookie"
header as defined in RFC 2109 for backward compatibility with cookie
version 0
|
Public Constructors
public
RFC2109Spec
(String[] datepatterns, boolean oneHeader)
Public Methods
public
Header
getVersionHeader
()
Protected Methods
protected
void
formatCookieAsVer
(CharArrayBuffer buffer, Cookie cookie, int version)
Return a string suitable for sending in a "Cookie" header
as defined in RFC 2109 for backward compatibility with cookie version 0
Parameters
buffer
| The char array buffer to use for output |
cookie
| The Cookie to be formatted as string |
version
| The version to use.
|
protected
void
formatParamAsVer
(CharArrayBuffer buffer, String name, String value, int version)
Return a name/value string suitable for sending in a "Cookie"
header as defined in RFC 2109 for backward compatibility with cookie
version 0
Parameters
buffer
| The char array buffer to use for output |
name
| The cookie name |
value
| The cookie value |
version
| The cookie version
|