Package org.apache.http.impl.cookie
Class RFC2965SpecFactory
- java.lang.Object
-
- org.apache.http.impl.cookie.RFC2965SpecFactory
-
- All Implemented Interfaces:
CookieSpecFactory
,CookieSpecProvider
@Contract(threading=IMMUTABLE) @Deprecated public class RFC2965SpecFactory extends java.lang.Object implements CookieSpecFactory, CookieSpecProvider
Deprecated.(4.4) UseRFC2965SpecProvider
.CookieSpecProvider
implementation that provides an instance ofRFC2965Spec
. The instance returned by this factory can be shared by multiple threads.- Since:
- 4.0
-
-
Constructor Summary
Constructors Constructor Description RFC2965SpecFactory()
Deprecated.RFC2965SpecFactory(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.
-
-