Uses of Interface
org.apache.hc.client5.http.cookie.Cookie
Packages that use Cookie
Package
Description
Client HTTP state management APIs.
Standard and common HTTP cookie management policies.
HTTP protocol interceptors that enable advanced functionality
such as HTTP state management and authentication state caching.
-
Uses of Cookie in org.apache.hc.client5.http.cookie
Subinterfaces of Cookie in org.apache.hc.client5.http.cookieModifier and TypeInterfaceDescriptioninterfaceThis interface represents aSet-Cookieresponse header sent by the origin server to the HTTP agent in order to maintain a conversational state.Classes in org.apache.hc.client5.http.cookie that implement interfaces with type arguments of type CookieModifier and TypeClassDescriptionclassThis cookie comparator can be used to compare identity of cookies.classThis cookie comparator ensures that multiple cookies satisfying a common criteria are ordered in theCookieheader such that those with more specific Path attributes precede those with less specific.classThis cookie comparator ensures that cookies with longer paths take precedence over cookies with shorter path.Fields in org.apache.hc.client5.http.cookie with type parameters of type CookieMethods in org.apache.hc.client5.http.cookie that return types with arguments of type CookieModifier and TypeMethodDescriptionBasicCookieStore.getCookies()Returns an immutable array ofcookiesthat this HTTP state currently contains.CookieStore.getCookies()Returns all cookies contained in this store.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 CookieModifier and TypeMethodDescriptionvoidAdds anHTTP cookie, replacing any existing equivalent cookies.voidAdds anCookie, replacing any existing equivalent cookies.voidBasicCookieStore.addCookies(Cookie[] cookies) Adds an array ofHTTP cookies.intintintprivate intCookiePriorityComparator.getPathLength(Cookie cookie) booleanCookieAttributeHandler.match(Cookie cookie, CookieOrigin origin) Matches the given value (property of the destination host where request is being submitted) with the corresponding cookie attribute.booleanCookieSpec.match(Cookie cookie, CookieOrigin origin) Determines if a Cookie matches the target location.private StringCookiePathComparator.normalizePath(Cookie cookie) voidCookieAttributeHandler.validate(Cookie cookie, CookieOrigin origin) Performs cookie validation for the given attribute value.voidCookieSpec.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 CookieModifier and TypeMethodDescriptionList<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 CookieMethods in org.apache.hc.client5.http.impl.cookie that return types with arguments of type CookieModifier and TypeMethodDescriptionCookieSpecBase.parse(org.apache.hc.core5.http.HeaderElement[] elems, CookieOrigin origin) IgnoreSpecSpec.parse(org.apache.hc.core5.http.Header header, CookieOrigin origin) RFC6265CookieSpec.parse(org.apache.hc.core5.http.Header header, CookieOrigin origin) Methods in org.apache.hc.client5.http.impl.cookie with parameters of type CookieModifier and TypeMethodDescriptionbooleanAbstractCookieAttributeHandler.match(Cookie cookie, CookieOrigin origin) booleanBasicDomainHandler.match(Cookie cookie, CookieOrigin origin) booleanBasicHttpOnlyHandler.match(Cookie cookie, CookieOrigin origin) booleanBasicPathHandler.match(Cookie cookie, CookieOrigin origin) booleanBasicSecureHandler.match(Cookie cookie, CookieOrigin origin) booleanCookieSpecBase.match(Cookie cookie, CookieOrigin origin) booleanIgnoreSpecSpec.match(Cookie cookie, CookieOrigin origin) booleanPublicSuffixDomainFilter.match(Cookie cookie, CookieOrigin origin) Never matches if the cookie's domain is from the blacklist.final booleanRFC6265CookieSpec.match(Cookie cookie, CookieOrigin origin) voidAbstractCookieAttributeHandler.validate(Cookie cookie, CookieOrigin origin) voidBasicDomainHandler.validate(Cookie cookie, CookieOrigin origin) voidBasicHttpOnlyHandler.validate(Cookie cookie, CookieOrigin origin) voidBasicPathHandler.validate(Cookie cookie, CookieOrigin origin) voidCookieSpecBase.validate(Cookie cookie, CookieOrigin origin) voidPublicSuffixDomainFilter.validate(Cookie cookie, CookieOrigin origin) final voidRFC6265CookieSpec.validate(Cookie cookie, CookieOrigin origin) Method parameters in org.apache.hc.client5.http.impl.cookie with type arguments of type CookieModifier and TypeMethodDescriptionList<org.apache.hc.core5.http.Header> IgnoreSpecSpec.formatCookies(List<Cookie> cookies) List<org.apache.hc.core5.http.Header> RFC6265CookieSpec.formatCookies(List<Cookie> cookies) -
Uses of Cookie in org.apache.hc.client5.http.protocol
Methods in org.apache.hc.client5.http.protocol with parameters of type CookieModifier and TypeMethodDescriptionprivate static StringResponseProcessCookies.formatCookie(Cookie cookie)