@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(org.apache.hc.core5.http.protocol.HttpContext context)
Creates an instance of
CookieSpec . |
public RFC6265CookieSpecFactory(RFC6265CookieSpecFactory.CompatibilityLevel compatibilityLevel, PublicSuffixMatcher publicSuffixMatcher)
public RFC6265CookieSpecFactory(PublicSuffixMatcher publicSuffixMatcher)
public RFC6265CookieSpecFactory()
public CookieSpec create(org.apache.hc.core5.http.protocol.HttpContext context)
CookieSpecFactory
CookieSpec
.create
in interface CookieSpecFactory
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.