@Contract(threading=SAFE) public class RFC6265CookieSpecFactory extends Object implements CookieSpecFactory
CookieSpecFactory
implementation that provides an instance of
RFC 6265 conformant cookie policy. The instance returned by this factory
can be shared by multiple threads.Modifier and Type | Class and Description |
---|---|
static class |
RFC6265CookieSpecFactory.CompatibilityLevel |
Constructor and Description |
---|
RFC6265CookieSpecFactory() |
RFC6265CookieSpecFactory(PublicSuffixMatcher publicSuffixMatcher) |
RFC6265CookieSpecFactory(RFC6265CookieSpecFactory.CompatibilityLevel compatibilityLevel,
PublicSuffixMatcher publicSuffixMatcher) |
Modifier and Type | Method and Description |
---|---|
CookieSpec |
create(HttpContext context)
Creates an instance of
CookieSpec . |
public RFC6265CookieSpecFactory()
public RFC6265CookieSpecFactory(PublicSuffixMatcher publicSuffixMatcher)
public RFC6265CookieSpecFactory(RFC6265CookieSpecFactory.CompatibilityLevel compatibilityLevel, PublicSuffixMatcher publicSuffixMatcher)
public CookieSpec create(HttpContext context)
CookieSpecFactory
CookieSpec
.create
in interface CookieSpecFactory