Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
org.apache.commons.httpclient.Cookie

Packages that use Cookie
org.apache.commons.httpclient | Classes and interfaces supporting the client side of the HTTP protocol.
org.apache.commons.httpclient.cookie | Provides cookie handling in conjunction with `Cookie`.

Uses of Cookie in org.apache.commons.httpclient

Methods in org.apache.commons.httpclient that return Cookie
`Cookie[]` | `HttpState.getCookies()` Returns an array of `cookies` that this HTTP state currently contains.
`Cookie[]` | `HttpState.getCookies(String domain, int port, String path, boolean secure)` Deprecated. use CookieSpec#match(String, int, String, boolean, Cookie)

Methods in org.apache.commons.httpclient with parameters of type Cookie
`void` | `HttpState.addCookie(Cookie cookie)` Adds an `HTTP cookie`, replacing any existing equivalent cookies.
`void` | `HttpState.addCookies(Cookie[] cookies)` Adds an array of `HTTP cookies`.

Uses of Cookie in org.apache.commons.httpclient.cookie

Subclasses of Cookie in org.apache.commons.httpclient.cookie
`class` | `Cookie2` Cookie class for `RFC2965Spec` cookie specification.

Methods in org.apache.commons.httpclient.cookie that return Cookie
`Cookie[]` | `IgnoreCookiesSpec.match(String host, int port, String path, boolean secure, Cookie[] cookies)` Returns an empty `cookie` array.
`Cookie[]` | `CookieSpecBase.match(String host, int port, String path, boolean secure, Cookie[] cookies)` Return an array of `Cookie`s that should be submitted with a request with given attributes, `false` otherwise.
`Cookie[]` | `CookieSpec.match(String host, int port, String path, boolean secure, Cookie[] cookies)` Determines which of an array of Cookies matches a location.
`Cookie[]` | `RFC2965Spec.parse(String host, int port, String path, boolean secure, Header header)` Parses the Set-Cookie2 value into an array of `Cookie`s.
`Cookie[]` | `IgnoreCookiesSpec.parse(String host, int port, String path, boolean secure, Header header)` Returns an empty `cookie` array.
`Cookie[]` | `CookieSpecBase.parse(String host, int port, String path, boolean secure, Header header)` Parse the `"Set-Cookie"` `Header` into an array of `Cookie`s.
`Cookie[]` | `CookieSpec.parse(String host, int port, String path, boolean secure, Header header)` Parse the `"Set-Cookie"` Header into an array of Cookies.
`Cookie[]` | `RFC2965Spec.parse(String host, int port, String path, boolean secure, String header)`
`Cookie[]` | `NetscapeDraftSpec.parse(String host, int port, String path, boolean secure, String header)` Parses the Set-Cookie value into an array of `Cookie`s.
`Cookie[]` | `IgnoreCookiesSpec.parse(String host, int port, String path, boolean secure, String header)` Returns an empty `cookie` array.
`Cookie[]` | `CookieSpecBase.parse(String host, int port, String path, boolean secure, String header)` Parses the Set-Cookie value into an array of `Cookie`s.
`Cookie[]` | `CookieSpec.parse(String host, int port, String path, boolean secure, String header)` Parse the `"Set-Cookie"` header value into Cookie array.

Methods in org.apache.commons.httpclient.cookie with parameters of type Cookie
`String` | `RFC2965Spec.formatCookie(Cookie cookie)` Return a string suitable for sending in a `"Cookie"` header as defined in RFC 2965
`String` | `RFC2109Spec.formatCookie(Cookie cookie)` Return a string suitable for sending in a `"Cookie"` header as defined in RFC 2109
`String` | `IgnoreCookiesSpec.formatCookie(Cookie cookie)`
`String` | `CookieSpecBase.formatCookie(Cookie cookie)` Return a string suitable for sending in a `"Cookie"` header
`String` | `CookieSpec.formatCookie(Cookie cookie)` Create a `"Cookie"` header value for an array of cookies.
`Header` | `IgnoreCookiesSpec.formatCookieHeader(Cookie cookie)`
`Header` | `CookieSpecBase.formatCookieHeader(Cookie cookie)` Create a `"Cookie"` `Header` containing the `Cookie`.
`Header` | `CookieSpec.formatCookieHeader(Cookie cookie)` Create a `"Cookie"` Header for single Cookie.
`Header` | `IgnoreCookiesSpec.formatCookieHeader(Cookie[] cookies)`
`Header` | `CookieSpecBase.formatCookieHeader(Cookie[] cookies)` Create a `"Cookie"` `Header` containing all `Cookie`s in cookies.
`Header` | `CookieSpec.formatCookieHeader(Cookie[] cookies)` Create a `"Cookie"` Header for an array of Cookies.
`String` | `RFC2965Spec.formatCookies(Cookie[] cookies)` Create a RFC 2965 compliant `"Cookie"` header value containing all `Cookie`s suitable for sending in a `"Cookie"` header
`String` | `RFC2109Spec.formatCookies(Cookie[] cookies)` Create a RFC 2109 compliant `"Cookie"` header value containing all `Cookie`s in cookies suitable for sending in a `"Cookie"` header
`String` | `IgnoreCookiesSpec.formatCookies(Cookie[] cookies)`
`String` | `CookieSpecBase.formatCookies(Cookie[] cookies)` Create a `"Cookie"` header value containing all `Cookie`s in cookies suitable for sending in a `"Cookie"` header
`String` | `CookieSpec.formatCookies(Cookie[] cookies)` Create a `"Cookie"` header value for an array of cookies.
`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` | `RFC2965Spec.match(String host, int port, String path, boolean secure, Cookie cookie)` Return `true` if the cookie should be submitted with a request with given attributes, `false` otherwise.
`boolean` | `IgnoreCookiesSpec.match(String host, int port, String path, boolean secure, Cookie cookie)`
`boolean` | `CookieSpecBase.match(String host, int port, String path, boolean secure, Cookie cookie)` Return `true` if the cookie should be submitted with a request with given attributes, `false` otherwise.
`boolean` | `CookieSpec.match(String host, int port, String path, boolean secure, Cookie cookie)` Determines if a Cookie matches a location.
`Cookie[]` | `IgnoreCookiesSpec.match(String host, int port, String path, boolean secure, Cookie[] cookies)` Returns an empty `cookie` array.
`Cookie[]` | `CookieSpecBase.match(String host, int port, String path, boolean secure, Cookie[] cookies)` Return an array of `Cookie`s that should be submitted with a request with given attributes, `false` otherwise.
`Cookie[]` | `CookieSpec.match(String host, int port, String path, boolean secure, Cookie[] cookies)` Determines which of an array of Cookies matches a location.
`void` | `CookieAttributeHandler.parse(Cookie cookie, String value)` Parse the given cookie attribute value and update the corresponding `Cookie` property.
`void` | `RFC2965Spec.parseAttribute(NameValuePair attribute, Cookie cookie)` Parse RFC 2965 specific cookie attribute and update the corresponsing `Cookie` properties.
`void` | `RFC2109Spec.parseAttribute(NameValuePair attribute, Cookie cookie)` Parse RFC 2109 specific cookie attribute and update the corresponsing `Cookie` properties.
`void` | `NetscapeDraftSpec.parseAttribute(NameValuePair attribute, Cookie cookie)` Parse the cookie attribute and update the corresponsing `Cookie` properties as defined by the Netscape draft specification
`void` | `IgnoreCookiesSpec.parseAttribute(NameValuePair attribute, Cookie cookie)` Does nothing.
`void` | `CookieSpecBase.parseAttribute(NameValuePair attribute, Cookie cookie)` Parse the cookie attribute and update the corresponsing `Cookie` properties.
`void` | `CookieSpec.parseAttribute(NameValuePair attribute, Cookie cookie)` Parse the cookie attribute and update the corresponsing Cookie properties.
`void` | `CookieAttributeHandler.validate(Cookie cookie, CookieOrigin origin)` Peforms cookie validation for the given attribute value.
`void` | `RFC2965Spec.validate(String host, int port, String path, boolean secure, Cookie cookie)` Performs RFC 2965 compliant `Cookie` validation
`void` | `RFC2109Spec.validate(String host, int port, String path, boolean secure, Cookie cookie)` Performs RFC 2109 compliant `Cookie` validation
`void` | `NetscapeDraftSpec.validate(String host, int port, String path, boolean secure, Cookie cookie)` Performs Netscape draft compliant `Cookie` validation
`void` | `IgnoreCookiesSpec.validate(String host, int port, String path, boolean secure, Cookie cookie)` Does nothing.
`void` | `CookieSpecBase.validate(String host, int port, String path, boolean secure, Cookie cookie)` Performs most common `Cookie` validation
`void` | `CookieSpec.validate(String host, int port, String path, boolean secure, Cookie cookie)` Validate the cookie according to validation rules defined by the cookie specification.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.