Top Description Constructors Methods
org.apache.hc.client5.http.impl

public final Class CookieSpecSupport

extends Object
Class Inheritance
Annotations
@Internal
Imports
org.apache.hc.client5.http.cookie.StandardCookieSpec, .CookieSpecFactory, org.apache.hc.client5.http.impl.cookie.IgnoreCookieSpecFactory, .RFC6265CookieSpecFactory, org.apache.hc.client5.http.psl.PublicSuffixMatcher, .PublicSuffixMatcherLoader, org.apache.hc.core5.annotation.Internal, org.apache.hc.core5.http.config.Lookup, .RegistryBuilder

Cookie support methods.
Since
5.0

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static Lookup<CookieSpecFactory>
createDefault()

Creates the default registry, using the default public suffix matcher.

public static Lookup<CookieSpecFactory>
createDefault(final PublicSuffixMatcher publicSuffixMatcher)

Creates the default registry with the provided public suffix matcher

public static RegistryBuilder<CookieSpecFactory>
createDefaultBuilder(final PublicSuffixMatcher publicSuffixMatcher)

Creates a builder containing the default registry entries, using the provided public suffix matcher.

public static RegistryBuilder<CookieSpecFactory>
createDefaultBuilder()

Creates a builder containing the default registry entries with the default public suffix matcher.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

CookieSpecSupportback to summary
private CookieSpecSupport()

Method Detail

createDefaultback to summary
public static Lookup<CookieSpecFactory> createDefault()

Creates the default registry, using the default public suffix matcher.

createDefaultback to summary
public static Lookup<CookieSpecFactory> createDefault(final PublicSuffixMatcher publicSuffixMatcher)

Creates the default registry with the provided public suffix matcher

createDefaultBuilderback to summary
public static RegistryBuilder<CookieSpecFactory> createDefaultBuilder(final PublicSuffixMatcher publicSuffixMatcher)

Creates a builder containing the default registry entries, using the provided public suffix matcher.

createDefaultBuilderback to summary
public static RegistryBuilder<CookieSpecFactory> createDefaultBuilder()

Creates a builder containing the default registry entries with the default public suffix matcher.