Known Direct Subclasses
RFC2965Spec |
RFC 2965 specific cookie management functions. |
|
Class Overview
RFC 2109 compliant cookie policy
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
|
[Expand]
Inherited Methods |
From class
org.apache.http.impl.cookie.CookieSpecBase
|
From class
org.apache.http.impl.cookie.AbstractCookieSpec
|
From class
java.lang.Object
Object
|
clone()
Creates and returns a copy of this Object .
|
boolean
|
equals(Object o)
Compares this instance with the specified object and indicates if they
are equal.
|
void
|
finalize()
Called before the object's memory is reclaimed by the VM.
|
final
Class<?>
|
getClass()
Returns the unique instance of Class that represents this
object's class.
|
int
|
hashCode()
Returns an integer hash code for this object.
|
final
void
|
notify()
Causes a thread which is waiting on this object's monitor (by means of
calling one of the wait() methods) to be woken up.
|
final
void
|
notifyAll()
Causes all threads which are waiting on this object's monitor (by means
of calling one of the wait() methods) to be woken up.
|
String
|
toString()
Returns a string containing a concise, human-readable description of this
object.
|
final
void
|
wait()
Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object.
|
final
void
|
wait(long millis, int nanos)
Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the
specified timeout expires.
|
final
void
|
wait(long millis)
Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the
specified timeout expires.
|
|
From interface
org.apache.http.cookie.CookieSpec
|
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
|