Uses of Interface
org.apache.http.cookie.Cookie
| Package | Description |
|---|---|
| org.apache.http.client |
The API for client-side HTTP communication and
entry point to the HttpClient module.
|
| org.apache.http.cookie |
The API for client-side state management via cookies,
commonly referred to as HttpCookie.
|
| org.apache.http.impl.client | |
| org.apache.http.impl.cookie |
-
Uses of Cookie in org.apache.http.client
Methods in org.apache.http.client that return types with arguments of type Cookie Modifier and Type Method Description List<Cookie>CookieStore. getCookies()Returns all cookies contained in this store.Methods in org.apache.http.client with parameters of type Cookie Modifier and Type Method Description voidCookieStore. addCookie(Cookie cookie)Adds anHTTP cookie, replacing any existing equivalent cookies. -
Uses of Cookie in org.apache.http.cookie
Subinterfaces of Cookie in org.apache.http.cookie Modifier and Type Interface Description interfaceClientCookieClientCookie extends the standardCookieinterface with additional client specific functionality such ability to retrieve original cookie attributes exactly as they were specified by the origin server.interfaceSetCookieThis interface represents aSetCookieresponse header sent by the origin server to the HTTP agent in order to maintain a conversational state.interfaceSetCookie2This interface represents aSetCookie2response header sent by the origin server to the HTTP agent in order to maintain a conversational state.Methods in org.apache.http.cookie that return types with arguments of type Cookie Modifier and Type Method Description List<Cookie>CookieSpec. parse(Header header, CookieOrigin origin)Parse the "Set-Cookie" Header into an array of Cookies.Methods in org.apache.http.cookie with parameters of type Cookie Modifier and Type Method Description intCookieIdentityComparator. compare(Cookie c1, Cookie c2)intCookiePathComparator. compare(Cookie c1, Cookie c2)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.voidCookieAttributeHandler. validate(Cookie cookie, CookieOrigin origin)Peforms 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.http.cookie with type arguments of type Cookie Modifier and Type Method Description List<Header>CookieSpec. formatCookies(List<Cookie> cookies)Create "Cookie" headers for an array of Cookies. -
Uses of Cookie in org.apache.http.impl.client
Methods in org.apache.http.impl.client that return types with arguments of type Cookie Modifier and Type Method Description List<Cookie>BasicCookieStore. getCookies()Returns an immutable array ofcookiesthat this HTTP state currently contains.Methods in org.apache.http.impl.client with parameters of type Cookie Modifier and Type Method Description voidBasicCookieStore. addCookie(Cookie cookie)Adds anHTTP cookie, replacing any existing equivalent cookies.voidBasicCookieStore. addCookies(Cookie[] cookies)Adds an array ofHTTP cookies. -
Uses of Cookie in org.apache.http.impl.cookie
Classes in org.apache.http.impl.cookie that implement Cookie Modifier and Type Class Description classBasicClientCookieHTTP "magic-cookie" represents a piece of state information that the HTTP agent and the target server can exchange to maintain a session.classBasicClientCookie2HTTP "magic-cookie" represents a piece of state information that the HTTP agent and the target server can exchange to maintain a session as specified by RFC2965.Methods in org.apache.http.impl.cookie that return types with arguments of type Cookie Modifier and Type Method Description List<Cookie>BestMatchSpec. parse(Header header, CookieOrigin origin)List<Cookie>BrowserCompatSpec. parse(Header header, CookieOrigin origin)protected List<Cookie>CookieSpecBase. parse(HeaderElement[] elems, CookieOrigin origin)List<Cookie>NetscapeDraftSpec. parse(Header header, CookieOrigin origin)Parses the Set-Cookie value into an array of Cookies.List<Cookie>RFC2109Spec. parse(Header header, CookieOrigin origin)List<Cookie>RFC2965Spec. parse(Header header, CookieOrigin origin)Methods in org.apache.http.impl.cookie with parameters of type Cookie Modifier and Type Method Description protected voidRFC2109Spec. formatCookieAsVer(CharArrayBuffer buffer, Cookie cookie, int version)Return a string suitable for sending in a "Cookie" header as defined in RFC 2109 for backward compatibility with cookie version 0protected voidRFC2965Spec. formatCookieAsVer(CharArrayBuffer buffer, Cookie cookie, int version)Adds valid Port attribute value, e.g.booleanAbstractCookieAttributeHandler. match(Cookie cookie, CookieOrigin origin)booleanBasicDomainHandler. match(Cookie cookie, CookieOrigin origin)booleanBasicPathHandler. match(Cookie cookie, CookieOrigin origin)booleanBasicSecureHandler. match(Cookie cookie, CookieOrigin origin)booleanBestMatchSpec. match(Cookie cookie, CookieOrigin origin)booleanCookieSpecBase. match(Cookie cookie, CookieOrigin origin)booleanNetscapeDomainHandler. match(Cookie cookie, CookieOrigin origin)booleanRFC2109DomainHandler. match(Cookie cookie, CookieOrigin origin)booleanRFC2965CommentUrlAttributeHandler. match(Cookie cookie, CookieOrigin origin)booleanRFC2965DiscardAttributeHandler. match(Cookie cookie, CookieOrigin origin)booleanRFC2965DomainAttributeHandler. match(Cookie cookie, CookieOrigin origin)Match cookie domain attribute.booleanRFC2965PortAttributeHandler. match(Cookie cookie, CookieOrigin origin)Match cookie port attribute.booleanRFC2965Spec. match(Cookie cookie, CookieOrigin origin)booleanRFC2965VersionAttributeHandler. match(Cookie cookie, CookieOrigin origin)voidAbstractCookieAttributeHandler. validate(Cookie cookie, CookieOrigin origin)voidBasicDomainHandler. validate(Cookie cookie, CookieOrigin origin)voidBasicPathHandler. validate(Cookie cookie, CookieOrigin origin)voidBestMatchSpec. validate(Cookie cookie, CookieOrigin origin)voidCookieSpecBase. validate(Cookie cookie, CookieOrigin origin)voidNetscapeDomainHandler. validate(Cookie cookie, CookieOrigin origin)voidRFC2109DomainHandler. validate(Cookie cookie, CookieOrigin origin)voidRFC2109Spec. validate(Cookie cookie, CookieOrigin origin)voidRFC2109VersionHandler. validate(Cookie cookie, CookieOrigin origin)voidRFC2965CommentUrlAttributeHandler. validate(Cookie cookie, CookieOrigin origin)voidRFC2965DiscardAttributeHandler. validate(Cookie cookie, CookieOrigin origin)voidRFC2965DomainAttributeHandler. validate(Cookie cookie, CookieOrigin origin)Validate cookie domain attribute.voidRFC2965PortAttributeHandler. validate(Cookie cookie, CookieOrigin origin)Validate cookie port attribute.voidRFC2965Spec. validate(Cookie cookie, CookieOrigin origin)voidRFC2965VersionAttributeHandler. validate(Cookie cookie, CookieOrigin origin)validate cookie version attribute.Method parameters in org.apache.http.impl.cookie with type arguments of type Cookie Modifier and Type Method Description List<Header>BestMatchSpec. formatCookies(List<Cookie> cookies)List<Header>BrowserCompatSpec. formatCookies(List<Cookie> cookies)List<Header>NetscapeDraftSpec. formatCookies(List<Cookie> cookies)List<Header>RFC2109Spec. formatCookies(List<Cookie> cookies)