Skip to content

Most visited

Recently visited

navigation

RFC2965Spec | Android Developers

to top
Android APIs
public class

RFC2965Spec

extends RFC2109Spec
java.lang.Object
   ↳ org.apache.http.impl.cookie.AbstractCookieSpec
     ↳ org.apache.http.impl.cookie.CookieSpecBase
       ↳ org.apache.http.impl.cookie.RFC2109Spec
         ↳ org.apache.http.impl.cookie.RFC2965Spec

Class Overview

RFC 2965 specific cookie management functions.

Summary

Public Constructors
RFC2965Spec()
Default constructor
RFC2965Spec(String[] datepatterns, boolean oneHeader)
Public Methods
int getVersion()
Header getVersionHeader()
boolean match(Cookie cookie, CookieOrigin origin)
List<Cookie> parse(Header header, CookieOrigin origin)
void validate(Cookie cookie, CookieOrigin origin)
Protected Methods
void formatCookieAsVer(CharArrayBuffer buffer, Cookie cookie, int version)
Adds valid Port attribute value, e.g.
[Expand]
Inherited Methods
From class org.apache.http.impl.cookie.RFC2109Spec
From class org.apache.http.impl.cookie.CookieSpecBase
From class org.apache.http.impl.cookie.AbstractCookieSpec
From class java.lang.Object
From interface org.apache.http.cookie.CookieSpec

Public Constructors

public RFC2965Spec ()

Added in API level 1

Default constructor

public RFC2965Spec (String[] datepatterns, boolean oneHeader)

Added in API level 1

Public Methods

public int getVersion ()

Added in API level 1

public Header getVersionHeader ()

Added in API level 1

public boolean match (Cookie cookie, CookieOrigin origin)

Added in API level 1

public List<Cookie> parse (Header header, CookieOrigin origin)

Added in API level 1

public void validate (Cookie cookie, CookieOrigin origin)

Added in API level 1

Protected Methods

protected void formatCookieAsVer (CharArrayBuffer buffer, Cookie cookie, int version)

Added in API level 1

Adds valid Port attribute value, e.g. "8000,8001,8002"

Parameters
buffer The char array buffer to use for output
cookie The Cookie to be formatted as string
version The version to use.
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.