org.apache.hc.client5.http.impl

## Class CookieSpecSupport

- java.lang.Object
- - org.apache.hc.client5.http.impl.CookieSpecSupport

-     @Internal
      public final class CookieSpecSupport
      extends Object

  Cookie support methods.
  Since:
    5.0

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static Lookup<CookieSpecFactory>` | `createDefault()` Creates the default registry, using the default public suffix matcher.
    `static Lookup<CookieSpecFactory>` | `createDefault(PublicSuffixMatcher publicSuffixMatcher)` Creates the default registry with the provided public suffix matcher
    `static RegistryBuilder<CookieSpecFactory>` | `createDefaultBuilder()` Creates a builder containing the default registry entries with the default public suffix matcher.
    `static RegistryBuilder<CookieSpecFactory>` | `createDefaultBuilder(PublicSuffixMatcher publicSuffixMatcher)` Creates a builder containing the default registry entries, using the provided public suffix matcher.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### createDefaultBuilder

          public static RegistryBuilder<CookieSpecFactory> createDefaultBuilder(PublicSuffixMatcher publicSuffixMatcher)

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

    - #### createDefaultBuilder

          public static RegistryBuilder<CookieSpecFactory> createDefaultBuilder()

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

    - #### createDefault

          public static Lookup<CookieSpecFactory> createDefault()

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

    - #### createDefault

          public static Lookup<CookieSpecFactory> createDefault(PublicSuffixMatcher publicSuffixMatcher)

      Creates the default registry with the provided public suffix matcher

Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.