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(HttpContext context) Deprecated.Creates an instance ofCookieSpec.newInstance(HttpParams params) Deprecated.Creates an instance ofCookieSpecusing given HTTP parameters.
-
Constructor Details
-
BestMatchSpecFactory
Deprecated. -
BestMatchSpecFactory
public BestMatchSpecFactory()Deprecated.
-
-
Method Details
-
newInstance
Deprecated.Description copied from interface:CookieSpecFactoryCreates an instance ofCookieSpecusing given HTTP parameters.- Specified by:
newInstancein interfaceCookieSpecFactory- Parameters:
params- HTTP parameters.- Returns:
- cookie spec.
-
create
Deprecated.Description copied from interface:CookieSpecProviderCreates an instance ofCookieSpec.- Specified by:
createin interfaceCookieSpecProvider- Returns:
- auth scheme.
-
DefaultCookieSpecProvider.