Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
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