DefaultCookieSpecProvider
.@Contract(threading=IMMUTABLE) @Deprecated public class BrowserCompatSpecFactory extends Object implements CookieSpecFactory, CookieSpecProvider
CookieSpecProvider
implementation that provides an instance of
BrowserCompatSpec
. The instance returned by this factory
can be shared by multiple threads.Modifier and Type | Class and Description |
---|---|
static class |
BrowserCompatSpecFactory.SecurityLevel
Deprecated.
|
Constructor and Description |
---|
BrowserCompatSpecFactory()
Deprecated.
|
BrowserCompatSpecFactory(String[] datepatterns)
Deprecated.
|
BrowserCompatSpecFactory(String[] datepatterns,
BrowserCompatSpecFactory.SecurityLevel securityLevel)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
CookieSpec |
create(org.apache.http.protocol.HttpContext context)
Deprecated.
Creates an instance of
CookieSpec . |
CookieSpec |
newInstance(org.apache.http.params.HttpParams params)
Deprecated.
Creates an instance of
CookieSpec using given HTTP parameters. |
public BrowserCompatSpecFactory(String[] datepatterns, BrowserCompatSpecFactory.SecurityLevel securityLevel)
public BrowserCompatSpecFactory(String[] datepatterns)
public BrowserCompatSpecFactory()
public CookieSpec newInstance(org.apache.http.params.HttpParams params)
CookieSpecFactory
CookieSpec
using given HTTP parameters.newInstance
in interface CookieSpecFactory
params
- HTTP parameters.public CookieSpec create(org.apache.http.protocol.HttpContext context)
CookieSpecProvider
CookieSpec
.create
in interface CookieSpecProvider
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.