Package org.apache.http.impl.cookie
Class DefaultCookieSpecProvider
- java.lang.Object
-
- org.apache.http.impl.cookie.DefaultCookieSpecProvider
-
- All Implemented Interfaces:
CookieSpecProvider
@Contract(threading=IMMUTABLE) public class DefaultCookieSpecProvider extends java.lang.Object implements CookieSpecProvider
CookieSpecProvider
implementation that provides an instance ofDefaultCookieSpec
. The instance returned by this factory can be shared by multiple threads.- Since:
- 4.4
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DefaultCookieSpecProvider.CompatibilityLevel
-
Constructor Summary
Constructors Constructor Description DefaultCookieSpecProvider()
DefaultCookieSpecProvider(PublicSuffixMatcher publicSuffixMatcher)
DefaultCookieSpecProvider(DefaultCookieSpecProvider.CompatibilityLevel compatibilityLevel, PublicSuffixMatcher publicSuffixMatcher)
DefaultCookieSpecProvider(DefaultCookieSpecProvider.CompatibilityLevel compatibilityLevel, PublicSuffixMatcher publicSuffixMatcher, java.lang.String[] datepatterns, boolean oneHeader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CookieSpec
create(HttpContext context)
Creates an instance ofCookieSpec
.
-
-
-
Constructor Detail
-
DefaultCookieSpecProvider
public DefaultCookieSpecProvider(DefaultCookieSpecProvider.CompatibilityLevel compatibilityLevel, PublicSuffixMatcher publicSuffixMatcher, java.lang.String[] datepatterns, boolean oneHeader)
-
DefaultCookieSpecProvider
public DefaultCookieSpecProvider(DefaultCookieSpecProvider.CompatibilityLevel compatibilityLevel, PublicSuffixMatcher publicSuffixMatcher)
-
DefaultCookieSpecProvider
public DefaultCookieSpecProvider(PublicSuffixMatcher publicSuffixMatcher)
-
DefaultCookieSpecProvider
public DefaultCookieSpecProvider()
-
-
Method Detail
-
create
public CookieSpec create(HttpContext context)
Description copied from interface:CookieSpecProvider
Creates an instance ofCookieSpec
.- Specified by:
create
in interfaceCookieSpecProvider
- Returns:
- auth scheme.
-
-