Package org.apache.hc.client5.http.cookie
package org.apache.hc.client5.http.cookie
Client HTTP state management APIs.
-
ClassDescriptionDefault implementation of
CookieStore
Extension ofCookieAttributeHandler
intended to handle one specific common attribute whose name is returned withCommonCookieAttributeHandler.getAttributeName()
method.Cookie interface represents a token or short packet of state information (also referred to as "magic-cookie") that the HTTP agent and the target server can exchange to maintain a session.This interface represents a cookie attribute handler responsible for parsing, validating, and matching a specific cookie attribute, such as path, domain, port, etc.This cookie comparator can be used to compare identity of cookies.CookieOrigin class encapsulates details of an origin server that are relevant when parsing, validating or matching HTTP cookies.This cookie comparator ensures that multiple cookies satisfying a common criteria are ordered in theCookie
header such that those with more specific Path attributes precede those with less specific.This cookie comparator ensures that cookies with longer paths take precedence over cookies with shorter path.Signals that a cookie violates a restriction imposed by the cookie specification.Defines the cookie management specification.Factory forCookieSpec
implementations.This interface represents an abstract store forCookie
objects.Signals that a cookie is in some way invalid or illegal in a given contextThis interface represents aSet-Cookie
response header sent by the origin server to the HTTP agent in order to maintain a conversational state.Cookie specifications by their names supported by the HttpClient.