| 
 | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| 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 cookiesthat 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 | Cookie2Cookie class for RFC2965Speccookie 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 cookiearray. | 
|  Cookie[] | CookieSpecBase.match(String host,
      int port,
      String path,
      boolean secure,
      Cookie[] cookies)Return an array of Cookies 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 Cookies. | 
|  Cookie[] | IgnoreCookiesSpec.parse(String host,
      int port,
      String path,
      boolean secure,
      Header header)Returns an empty cookiearray. | 
|  Cookie[] | CookieSpecBase.parse(String host,
      int port,
      String path,
      boolean secure,
      Header header)Parse the "Set-Cookie" Headerinto an array ofCookies. | 
|  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 Cookies. | 
|  Cookie[] | IgnoreCookiesSpec.parse(String host,
      int port,
      String path,
      boolean secure,
      String header)Returns an empty cookiearray. | 
|  Cookie[] | CookieSpecBase.parse(String host,
      int port,
      String path,
      boolean secure,
      String header)Parses the Set-Cookie value into an array of Cookies. | 
|  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" Headercontaining theCookie. | 
|  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" Headercontaining allCookies
 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 Cookies suitable for
 sending in a "Cookie" header | 
|  String | RFC2109Spec.formatCookies(Cookie[] cookies)Create a RFC 2109 compliant "Cookie" header value containing all Cookies 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 Cookies 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 cookiearray. | 
|  Cookie[] | CookieSpecBase.match(String host,
      int port,
      String path,
      boolean secure,
      Cookie[] cookies)Return an array of Cookies 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 Cookieproperty. | 
|  void | RFC2965Spec.parseAttribute(NameValuePair attribute,
               Cookie cookie)Parse RFC 2965 specific cookie attribute and update the corresponsing Cookieproperties. | 
|  void | RFC2109Spec.parseAttribute(NameValuePair attribute,
               Cookie cookie)Parse RFC 2109 specific cookie attribute and update the corresponsing Cookieproperties. | 
|  void | NetscapeDraftSpec.parseAttribute(NameValuePair attribute,
               Cookie cookie)Parse the cookie attribute and update the corresponsing Cookieproperties 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 Cookieproperties. | 
|  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 Cookievalidation | 
|  void | RFC2109Spec.validate(String host,
         int port,
         String path,
         boolean secure,
         Cookie cookie)Performs RFC 2109 compliant Cookievalidation | 
|  void | NetscapeDraftSpec.validate(String host,
         int port,
         String path,
         boolean secure,
         Cookie cookie)Performs Netscape draft compliant Cookievalidation | 
|  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 Cookievalidation | 
|  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. | 
| 
 | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||