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

Valid date patterns used per default

Public Constructors

public BrowserCompatSpec (String[] datepatterns)

Default constructor

public BrowserCompatSpec ()

Default constructor

Public Methods

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

public int getVersion ()

public Header getVersionHeader ()

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