Client HTTP state management APIs.
Interface Summary Interface Description ClientCookieClientCookie extends the standard
Cookieinterface with additional client specific functionality such ability to retrieve original cookie attributes exactly as they were specified by the origin server.
CommonCookieAttributeHandler CookieCookie 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. CookieAttributeHandlerThis interface represents a cookie attribute handler responsible for parsing, validating, and matching a specific cookie attribute, such as path, domain, port, etc. CookieSpecDefines the cookie management specification. CookieSpecFactory Deprecated.(4.3) use
SetCookieThis interface represents a
Set-Cookieresponse header sent by the origin server to the HTTP agent in order to maintain a conversational state.
SetCookie2This interface represents a
Set-Cookie2response header sent by the origin server to the HTTP agent in order to maintain a conversational state.
SMConstants and static helpers related to the HTTP state management.
Class Summary Class Description CookieIdentityComparatorThis cookie comparator can be used to compare identity of cookies. CookieOriginCookieOrigin class encapsulates details of an origin server that are relevant when parsing, validating or matching HTTP cookies. CookiePathComparatorThis cookie comparator ensures that multiple cookies satisfying a common criteria are ordered in the
Cookieheader such that those with more specific Path attributes precede those with less specific.
CookiePriorityComparatorThis cookie comparator ensures that cookies with longer paths take precedence over cookies with shorter path. CookieSpecRegistry Deprecated.(4.3) use
Exception Summary Exception Description CookieRestrictionViolationExceptionSignals that a cookie violates a restriction imposed by the cookie specification. MalformedCookieExceptionSignals that a cookie is in some way invalid or illegal in a given context