Package org.apache.http.impl.cookie
Class BestMatchSpecFactory
java.lang.Object
org.apache.http.impl.cookie.BestMatchSpecFactory
- All Implemented Interfaces:
CookieSpecFactory
,CookieSpecProvider
@Contract(threading=IMMUTABLE)
@Deprecated
public class BestMatchSpecFactory
extends Object
implements CookieSpecFactory, CookieSpecProvider
Deprecated.
CookieSpecProvider
implementation that provides an instance of
BestMatchSpec
. The instance returned by this factory can
be shared by multiple threads.- Since:
- 4.0
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.BestMatchSpecFactory
(String[] datepatterns, boolean oneHeader) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptioncreate
(org.apache.http.protocol.HttpContext context) Deprecated.Creates an instance ofCookieSpec
.newInstance
(org.apache.http.params.HttpParams params) Deprecated.Creates an instance ofCookieSpec
using given HTTP parameters.
-
Constructor Details
-
BestMatchSpecFactory
Deprecated. -
BestMatchSpecFactory
public BestMatchSpecFactory()Deprecated.
-
-
Method Details
-
newInstance
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
Deprecated.Description copied from interface:CookieSpecProvider
Creates an instance ofCookieSpec
.- Specified by:
create
in interfaceCookieSpecProvider
- Returns:
- auth scheme.
-
DefaultCookieSpecProvider
.