to top
Android APIs
public class

BrowserCompatSpec

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

Class Overview

Cookie specification that strives to closely mimic (mis)behavior of common web browser applications such as Microsoft Internet Explorer and Mozilla FireFox.

Summary

Fields
protected static final String[] DATE_PATTERNS Valid date patterns used per default
Public Constructors
BrowserCompatSpec(String[] datepatterns)
Default constructor
BrowserCompatSpec()
Default constructor
Public Methods
List<Header> formatCookies(List<Cookie> cookies)
int getVersion()
Header getVersionHeader()
List<Cookie> parse(Header header, CookieOrigin origin)
[Expand]
Inherited Methods
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

Fields

protected static final String[] DATE_PATTERNS

Added in API level 1

Valid date patterns used per default

Public Constructors

public BrowserCompatSpec (String[] datepatterns)

Added in API level 1

Default constructor

public BrowserCompatSpec ()

Added in API level 1

Default constructor

Public Methods

public List<Header> formatCookies (List<Cookie> cookies)

Added in API level 1

public int getVersion ()

Added in API level 1

public Header getVersionHeader ()

Added in API level 1

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

Added in API level 1