DefaultCookieSpecProvider
.@Contract(threading=IMMUTABLE) @Deprecated public class BestMatchSpecFactory extends Object implements CookieSpecFactory, CookieSpecProvider
CookieSpecProvider
implementation that provides an instance of
BestMatchSpec
. The instance returned by this factory can
be shared by multiple threads.Constructor and Description |
---|
BestMatchSpecFactory()
Deprecated.
|
BestMatchSpecFactory(String[] datepatterns,
boolean oneHeader)
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 BestMatchSpecFactory(String[] datepatterns, boolean oneHeader)
public BestMatchSpecFactory()
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.