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

Constants
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

Constants

protected static final String[] DATE_PATTERNS

Since: API Level 1

Valid date patterns used per default

Public Constructors

public BrowserCompatSpec (String[] datepatterns)

Since: API Level 1

Default constructor

public BrowserCompatSpec ()

Since: API Level 1

Default constructor

Public Methods

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

Since: API Level 1

public int getVersion ()

Since: API Level 1

public Header getVersionHeader ()

Since: API Level 1

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

Since: API Level 1