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, Date now)
          Deprecated. use CookieSpec#match(String, int, String, boolean, Cookie)
 Cookie[] HttpState.getCookies(String domain, int port, String path, boolean secure)
          Deprecated. use CookieSpec.match(String, int, String, boolean, Cookie)
static Cookie[] Cookie.parse(String domain, int port, String path, Header setCookie)
          Deprecated. use CookieSpec interface
static Cookie[] Cookie.parse(String domain, String path, Header setCookie)
          Deprecated. use CookieSpec interface
static Cookie[] Cookie.parse(String domain, String path, boolean secure, Header setCookie)
          Deprecated. use CookieSpec interface
static Cookie[] Cookie.parse(String domain, int port, String path, boolean secure, Header setCookie)
          Deprecated. use CookieSpec interface
 

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.
static Header Cookie.createCookieHeader(String domain, String path, Cookie[] cookies)
          Deprecated. use CookieSpec interface
static Header Cookie.createCookieHeader(String domain, String path, boolean secure, Cookie[] cookies)
          Deprecated. use CookieSpec interface
static Header Cookie.createCookieHeader(String domain, int port, String path, boolean secure, Cookie[] cookies)
          Deprecated. use CookieSpec interface
static Header Cookie.createCookieHeader(String domain, int port, String path, boolean secure, Date now, Cookie[] cookies)
          Deprecated. use CookieSpec interface
 

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

Methods in org.apache.commons.httpclient.cookie that return Cookie
 Cookie[] CookieSpecBase.parse(String host, int port, String path, boolean secure, String header)
          Parses the Set-Cookie value into an array of Cookies.
 Cookie[] CookieSpecBase.parse(String host, int port, String path, boolean secure, Header header)
          Parse the "Set-Cookie" Header into an array of Cookies.
 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.parse(String host, int port, String path, boolean secure, String header)
          Parse the "Set-Cookie" header value into Cookie array.
 Cookie[] CookieSpec.parse(String host, int port, String path, boolean secure, Header header)
          Parse the "Set-Cookie" Header into an array of Cookies.
 Cookie[] CookieSpec.match(String host, int port, String path, boolean secure, Cookie[] cookies)
          Determines which of an array of Cookies matches a location.
 

Methods in org.apache.commons.httpclient.cookie with parameters of type Cookie
 void CookieSpecBase.parseAttribute(NameValuePair attribute, Cookie cookie)
          Parse the cookie attribute and update the corresponsing Cookie properties.
 void CookieSpecBase.validate(String host, int port, String path, boolean secure, Cookie cookie)
          Performs most common Cookie validation
 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.
 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.
 String CookieSpecBase.formatCookie(Cookie cookie)
          Return a string suitable for sending in a "Cookie" header
 String CookieSpecBase.formatCookies(Cookie[] cookies)
          Create a "Cookie" header value containing all Cookies in cookies suitable for sending in a "Cookie" header
 Header CookieSpecBase.formatCookieHeader(Cookie[] cookies)
          Create a "Cookie" Header containing all Cookies in cookies.
 Header CookieSpecBase.formatCookieHeader(Cookie cookie)
          Create a "Cookie" Header containing the Cookie.
 void RFC2109Spec.parseAttribute(NameValuePair attribute, Cookie cookie)
          Parse RFC 2109 specific cookie attribute and update the corresponsing Cookie properties.
 void RFC2109Spec.validate(String host, int port, String path, boolean secure, Cookie cookie)
          Performs RFC 2109 compliant Cookie validation
 String RFC2109Spec.formatCookie(Cookie cookie)
          Return a string suitable for sending in a "Cookie" header as defined in RFC 2109
 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
 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 NetscapeDraftSpec.validate(String host, int port, String path, boolean secure, Cookie cookie)
          Performs Netscape draft compliant Cookie validation
 void CookieSpec.parseAttribute(NameValuePair attribute, Cookie cookie)
          Parse the cookie attribute and update the corresponsing Cookie properties.
 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.
 boolean CookieSpec.match(String host, int port, String path, boolean secure, Cookie cookie)
          Determines if a Cookie matches a location.
 Cookie[] CookieSpec.match(String host, int port, String path, boolean secure, Cookie[] cookies)
          Determines which of an array of Cookies matches a location.
 String CookieSpec.formatCookie(Cookie cookie)
          Create a "Cookie" header value for an array of cookies.
 String CookieSpec.formatCookies(Cookie[] cookies)
          Create a "Cookie" header value for an array of cookies.
 Header CookieSpec.formatCookieHeader(Cookie[] cookies)
          Create a "Cookie" Header for an array of Cookies.
 Header CookieSpec.formatCookieHeader(Cookie cookie)
          Create a "Cookie" Header for single Cookie.
 



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