Package org.apache.http.impl.cookie
Class BrowserCompatSpecFactory
- java.lang.Object
-
- org.apache.http.impl.cookie.BrowserCompatSpecFactory
-
- All Implemented Interfaces:
CookieSpecFactory
,CookieSpecProvider
@Contract(threading=IMMUTABLE) @Deprecated public class BrowserCompatSpecFactory extends java.lang.Object implements CookieSpecFactory, CookieSpecProvider
Deprecated.(4.4) useDefaultCookieSpecProvider
.CookieSpecProvider
implementation that provides an instance ofBrowserCompatSpec
. The instance returned by this factory can be shared by multiple threads.- Since:
- 4.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BrowserCompatSpecFactory.SecurityLevel
Deprecated.
-
Constructor Summary
Constructors Constructor Description BrowserCompatSpecFactory()
Deprecated.BrowserCompatSpecFactory(java.lang.String[] datepatterns)
Deprecated.BrowserCompatSpecFactory(java.lang.String[] datepatterns, BrowserCompatSpecFactory.SecurityLevel securityLevel)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description CookieSpec
create(HttpContext context)
Deprecated.Creates an instance ofCookieSpec
.CookieSpec
newInstance(HttpParams params)
Deprecated.Creates an instance ofCookieSpec
using given HTTP parameters.
-
-
-
Constructor Detail
-
BrowserCompatSpecFactory
public BrowserCompatSpecFactory(java.lang.String[] datepatterns, BrowserCompatSpecFactory.SecurityLevel securityLevel)
Deprecated.
-
BrowserCompatSpecFactory
public BrowserCompatSpecFactory(java.lang.String[] datepatterns)
Deprecated.
-
BrowserCompatSpecFactory
public BrowserCompatSpecFactory()
Deprecated.
-
-
Method Detail
-
newInstance
public CookieSpec newInstance(HttpParams params)
Deprecated.Description copied from interface:CookieSpecFactory
Creates an instance ofCookieSpec
using given HTTP parameters.- Specified by:
newInstance
in interfaceCookieSpecFactory
- Parameters:
params
- HTTP parameters.- Returns:
- cookie spec.
-
create
public CookieSpec create(HttpContext context)
Deprecated.Description copied from interface:CookieSpecProvider
Creates an instance ofCookieSpec
.- Specified by:
create
in interfaceCookieSpecProvider
- Returns:
- auth scheme.
-
-