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 java.lang.Object implements CookieSpecFactory, CookieSpecProvider
Deprecated.(4.4) useDefaultCookieSpecProvider
.CookieSpecProvider
implementation that provides an instance ofBestMatchSpec
. The instance returned by this factory can be shared by multiple threads.- Since:
- 4.0
-
-
Constructor Summary
Constructors Constructor Description BestMatchSpecFactory()
Deprecated.BestMatchSpecFactory(java.lang.String[] datepatterns, boolean oneHeader)
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.
-
-
-
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.
-
-