## Uses of Interface
org.apache.hc.client5.http.cookie.Cookie

- Packages that use Cookie
  Package | Description
  --- | ---
  org.apache.hc.client5.http.cookie | Client HTTP state management APIs.
  org.apache.hc.client5.http.impl.cookie | Standard and common HTTP cookie management policies.

- - ### Uses of Cookie in org.apache.hc.client5.http.cookie

    Subinterfaces of Cookie in org.apache.hc.client5.http.cookie
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `SetCookie` This interface represents a `Set-Cookie` response header sent by the origin server to the HTTP agent in order to maintain a conversational state.

    Methods in org.apache.hc.client5.http.cookie that return types with arguments of type Cookie
    Modifier and Type | Method and Description
    --- | ---
    `List<Cookie>` | BasicCookieStore.`getCookies()` Returns an immutable array of `cookies` that this HTTP state currently contains.
    `List<Cookie>` | CookieStore.`getCookies()` Returns all cookies contained in this store.
    `List<Cookie>` | CookieSpec.`parse(org.apache.hc.core5.http.Header header, CookieOrigin origin)` Parse the `"Set-Cookie"` Header into an array of Cookies.

    Methods in org.apache.hc.client5.http.cookie with parameters of type Cookie
    Modifier and Type | Method and Description
    --- | ---
    `void` | BasicCookieStore.`addCookie(Cookie cookie)` Adds an `HTTP cookie`, replacing any existing equivalent cookies.
    `void` | CookieStore.`addCookie(Cookie cookie)` Adds an `Cookie`, replacing any existing equivalent cookies.
    `void` | BasicCookieStore.`addCookies(Cookie[] cookies)` Adds an array of `HTTP cookies`.
    `int` | CookiePriorityComparator.`compare(Cookie c1, Cookie c2)`
    `int` | CookiePathComparator.`compare(Cookie c1, Cookie c2)`
    `int` | CookieIdentityComparator.`compare(Cookie c1, Cookie c2)`
    `boolean` | CookieAttributeHandler.`match(Cookie cookie, CookieOrigin origin)` Matches the given value (property of the destination host where request is being submitted) with the corresponding cookie attribute.
    `boolean` | CookieSpec.`match(Cookie cookie, CookieOrigin origin)` Determines if a Cookie matches the target location.
    `void` | CookieAttributeHandler.`validate(Cookie cookie, CookieOrigin origin)` Performs cookie validation for the given attribute value.
    `void` | CookieSpec.`validate(Cookie cookie, CookieOrigin origin)` Validate the cookie according to validation rules defined by the cookie specification.

    Method parameters in org.apache.hc.client5.http.cookie with type arguments of type Cookie
    Modifier and Type | Method and Description
    --- | ---
    `List<org.apache.hc.core5.http.Header>` | CookieSpec.`formatCookies(List<Cookie> cookies)` Create `"Cookie"` headers for an array of Cookies.

  - ### Uses of Cookie in org.apache.hc.client5.http.impl.cookie

    Classes in org.apache.hc.client5.http.impl.cookie that implement Cookie
    Modifier and Type | Class and Description
    --- | ---
    `class` | `BasicClientCookie` Default implementation of `SetCookie`.

    Methods in org.apache.hc.client5.http.impl.cookie that return types with arguments of type Cookie
    Modifier and Type | Method and Description
    --- | ---
    `List<Cookie>` | IgnoreSpecSpec.`parse(org.apache.hc.core5.http.Header header, CookieOrigin origin)`
    `List<Cookie>` | RFC6265CookieSpec.`parse(org.apache.hc.core5.http.Header header, CookieOrigin origin)`
    `protected List<Cookie>` | CookieSpecBase.`parse(org.apache.hc.core5.http.HeaderElement[] elems, CookieOrigin origin)`

    Methods in org.apache.hc.client5.http.impl.cookie with parameters of type Cookie
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | BasicPathHandler.`match(Cookie cookie, CookieOrigin origin)`
    `boolean` | BasicDomainHandler.`match(Cookie cookie, CookieOrigin origin)`
    `boolean` | BasicSecureHandler.`match(Cookie cookie, CookieOrigin origin)`
    `boolean` | AbstractCookieAttributeHandler.`match(Cookie cookie, CookieOrigin origin)`
    `boolean` | IgnoreSpecSpec.`match(Cookie cookie, CookieOrigin origin)`
    `boolean` | PublicSuffixDomainFilter.`match(Cookie cookie, CookieOrigin origin)` Never matches if the cookie's domain is from the blacklist.
    `boolean` | CookieSpecBase.`match(Cookie cookie, CookieOrigin origin)`
    `boolean` | RFC6265CookieSpec.`match(Cookie cookie, CookieOrigin origin)`
    `void` | BasicPathHandler.`validate(Cookie cookie, CookieOrigin origin)`
    `void` | BasicDomainHandler.`validate(Cookie cookie, CookieOrigin origin)`
    `void` | AbstractCookieAttributeHandler.`validate(Cookie cookie, CookieOrigin origin)`
    `void` | PublicSuffixDomainFilter.`validate(Cookie cookie, CookieOrigin origin)`
    `void` | CookieSpecBase.`validate(Cookie cookie, CookieOrigin origin)`
    `void` | RFC6265CookieSpec.`validate(Cookie cookie, CookieOrigin origin)`

    Method parameters in org.apache.hc.client5.http.impl.cookie with type arguments of type Cookie
    Modifier and Type | Method and Description
    --- | ---
    `List<org.apache.hc.core5.http.Header>` | IgnoreSpecSpec.`formatCookies(List<Cookie> cookies)`
    `List<org.apache.hc.core5.http.Header>` | RFC6265CookieSpec.`formatCookies(List<Cookie> cookies)`

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