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

Packages that use Cookie
org.apache.http.client: The API for client-side HTTP communication.
org.apache.http.cookie: The API for client-side state management via cookies.
org.apache.http.impl.client: Default implementations for interfaces in `org.apache.http.client`.
org.apache.http.impl.cookie: Default implementations for interfaces in `org.apache.http.cookie`.

Uses of Cookie in org.apache.http.client

Methods in org.apache.http.client that return types with arguments of type Cookie
`List<Cookie>` `CookieStore.getCookies()` Returns all cookies contained in this store.

Methods in org.apache.http.client with parameters of type Cookie
`void` `CookieStore.addCookie(Cookie cookie)` Adds an `Cookie`, replacing any existing equivalent cookies.

Uses of Cookie in org.apache.http.cookie

Subinterfaces of Cookie in org.apache.http.cookie
`interface` `ClientCookie` ClientCookie extends the standard `Cookie` interface with additional client specific functionality such ability to retrieve original cookie attributes exactly as they were specified by the origin server.
`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.
`interface` `SetCookie2` This interface represents a `Set-Cookie2` response 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
`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
`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)` Peforms 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.http.cookie with type arguments of type Cookie
`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
`List<Cookie>` `BasicCookieStore.getCookies()` Returns an immutable array of `cookies` that this HTTP state currently contains.

Methods in org.apache.http.impl.client with parameters of type Cookie
`void` `BasicCookieStore.addCookie(Cookie cookie)` Adds an `HTTP cookie`, replacing any existing equivalent cookies.
`void` `BasicCookieStore.addCookies(Cookie[] cookies)` Adds an array of `HTTP cookies`.

Uses of Cookie in org.apache.http.impl.cookie

Classes in org.apache.http.impl.cookie that implement Cookie
`class` `BasicClientCookie` Default implementation of `SetCookie`.
`class` `BasicClientCookie2` Default implementation of `SetCookie2`.

Methods in org.apache.http.impl.cookie that return types with arguments of type Cookie
`List<Cookie>` `BestMatchSpec.parse(Header header, CookieOrigin origin)`
`List<Cookie>` `BrowserCompatSpec.parse(Header header, CookieOrigin origin)`
`List<Cookie>` `IgnoreSpec.parse(Header header, CookieOrigin origin)`
`List<Cookie>` `RFC2109Spec.parse(Header header, CookieOrigin origin)`
`List<Cookie>` `RFC2965Spec.parse(Header header, CookieOrigin origin)`
`List<Cookie>` `NetscapeDraftSpec.parse(Header header, CookieOrigin origin)` Parses the Set-Cookie value into an array of `Cookie`s.
`protected List<Cookie>` `CookieSpecBase.parse(HeaderElement[] elems, CookieOrigin origin)`
`protected List<Cookie>` `RFC2965Spec.parse(HeaderElement[] elems, CookieOrigin origin)`

Methods in org.apache.http.impl.cookie with parameters of type Cookie
`protected void` `RFC2109Spec.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 0
`protected void` `RFC2965Spec.formatCookieAsVer(CharArrayBuffer buffer, Cookie cookie, int version)` Adds valid Port attribute value, e.g.
`boolean` `BestMatchSpec.match(Cookie cookie, CookieOrigin origin)`
`boolean` `RFC2965PortAttributeHandler.match(Cookie cookie, CookieOrigin origin)` Match cookie port attribute.
`boolean` `BasicSecureHandler.match(Cookie cookie, CookieOrigin origin)`
`boolean` `RFC2965DomainAttributeHandler.match(Cookie cookie, CookieOrigin origin)` Match cookie domain attribute.
`boolean` `RFC2965CommentUrlAttributeHandler.match(Cookie cookie, CookieOrigin origin)`
`boolean` `RFC2109DomainHandler.match(Cookie cookie, CookieOrigin origin)`
`boolean` `NetscapeDomainHandler.match(Cookie cookie, CookieOrigin origin)`
`boolean` `PublicSuffixFilter.match(Cookie cookie, CookieOrigin origin)` Never matches if the cookie's domain is from the blacklist.
`boolean` `CookieSpecBase.match(Cookie cookie, CookieOrigin origin)`
`boolean` `BasicDomainHandler.match(Cookie cookie, CookieOrigin origin)`
`boolean` `RFC2965Spec.match(Cookie cookie, CookieOrigin origin)`
`boolean` `BasicPathHandler.match(Cookie cookie, CookieOrigin origin)`
`boolean` `RFC2965VersionAttributeHandler.match(Cookie cookie, CookieOrigin origin)`
`boolean` `RFC2965DiscardAttributeHandler.match(Cookie cookie, CookieOrigin origin)`
`boolean` `AbstractCookieAttributeHandler.match(Cookie cookie, CookieOrigin origin)`
`void` `BestMatchSpec.validate(Cookie cookie, CookieOrigin origin)`
`void` `RFC2965PortAttributeHandler.validate(Cookie cookie, CookieOrigin origin)` Validate cookie port attribute.
`void` `RFC2965DomainAttributeHandler.validate(Cookie cookie, CookieOrigin origin)` Validate cookie domain attribute.
`void` `RFC2965CommentUrlAttributeHandler.validate(Cookie cookie, CookieOrigin origin)`
`void` `RFC2109DomainHandler.validate(Cookie cookie, CookieOrigin origin)`
`void` `RFC2109VersionHandler.validate(Cookie cookie, CookieOrigin origin)`
`void` `NetscapeDomainHandler.validate(Cookie cookie, CookieOrigin origin)`
`void` `PublicSuffixFilter.validate(Cookie cookie, CookieOrigin origin)`
`void` `RFC2109Spec.validate(Cookie cookie, CookieOrigin origin)`
`void` `CookieSpecBase.validate(Cookie cookie, CookieOrigin origin)`
`void` `BasicDomainHandler.validate(Cookie cookie, CookieOrigin origin)`
`void` `RFC2965Spec.validate(Cookie cookie, CookieOrigin origin)`
`void` `BasicPathHandler.validate(Cookie cookie, CookieOrigin origin)`
`void` `RFC2965VersionAttributeHandler.validate(Cookie cookie, CookieOrigin origin)` validate cookie version attribute.
`void` `RFC2965DiscardAttributeHandler.validate(Cookie cookie, CookieOrigin origin)`
`void` `AbstractCookieAttributeHandler.validate(Cookie cookie, CookieOrigin origin)`

Method parameters in org.apache.http.impl.cookie with type arguments of type Cookie
`List<Header>` `BestMatchSpec.formatCookies(List<Cookie> cookies)`
`List<Header>` `BrowserCompatSpec.formatCookies(List<Cookie> cookies)`
`List<Header>` `IgnoreSpec.formatCookies(List<Cookie> cookies)`
`List<Header>` `RFC2109Spec.formatCookies(List<Cookie> cookies)`
`List<Header>` `NetscapeDraftSpec.formatCookies(List<Cookie> cookies)`

Copyright © 1999-2011 The Apache Software Foundation. All Rights Reserved.