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

Uses of Cookie in org.apache.commons.httpclient
 

Methods in org.apache.commons.httpclient that return Cookie
static Cookie[] Cookie.parse(java.lang.String domain, int port, java.lang.String path, Header setCookie)
          Deprecated. use CookieSpec interface
static Cookie[] Cookie.parse(java.lang.String domain, java.lang.String path, Header setCookie)
          Deprecated. use CookieSpec interface
static Cookie[] Cookie.parse(java.lang.String domain, java.lang.String path, boolean secure, Header setCookie)
          Deprecated. use CookieSpec interface
static Cookie[] Cookie.parse(java.lang.String domain, int port, java.lang.String path, boolean secure, Header setCookie)
          Deprecated. use CookieSpec interface
 Cookie[] HttpState.getCookies()
          Returns an array of cookies that this HTTP state currently contains.
 Cookie[] HttpState.getCookies(java.lang.String domain, int port, java.lang.String path, boolean secure, java.util.Date now)
          Deprecated. use CookieSpec#match(String, int, String, boolean, Cookie)
 Cookie[] HttpState.getCookies(java.lang.String domain, int port, java.lang.String path, boolean secure)
          Deprecated. use CookieSpec.match(String, int, String, boolean, Cookie)
 

Methods in org.apache.commons.httpclient with parameters of type Cookie
static Header Cookie.createCookieHeader(java.lang.String domain, java.lang.String path, Cookie[] cookies)
          Deprecated. use CookieSpec interface
static Header Cookie.createCookieHeader(java.lang.String domain, java.lang.String path, boolean secure, Cookie[] cookies)
          Deprecated. use CookieSpec interface
static Header Cookie.createCookieHeader(java.lang.String domain, int port, java.lang.String path, boolean secure, Cookie[] cookies)
          Deprecated. use CookieSpec interface
static Header Cookie.createCookieHeader(java.lang.String domain, int port, java.lang.String path, boolean secure, java.util.Date now, Cookie[] cookies)
          Deprecated. use CookieSpec interface
 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
 

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

Methods in org.apache.commons.httpclient.cookie with parameters of type Cookie
 void CookieSpec.parseAttribute(NameValuePair attribute, Cookie cookie)
          Parse the cookie attribute and update the corresponsing Cookie properties.
 void CookieSpec.validate(java.lang.String host, int port, java.lang.String path, boolean secure, Cookie cookie)
          Validate the cookie according to validation rules defined by the cookie specification.
 boolean CookieSpec.match(java.lang.String host, int port, java.lang.String path, boolean secure, Cookie cookie)
          Determines if a Cookie matches a location.
 Cookie[] CookieSpec.match(java.lang.String host, int port, java.lang.String path, boolean secure, Cookie[] cookies)
          Determines which of an array of Cookies matches a location.
 java.lang.String CookieSpec.formatCookie(Cookie cookie)
          Create a "Cookie" header value for an array of cookies.
 java.lang.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.
 void CookieSpecBase.parseAttribute(NameValuePair attribute, Cookie cookie)
          Parse the cookie attribute and update the corresponsing Cookie properties.
 void CookieSpecBase.validate(java.lang.String host, int port, java.lang.String path, boolean secure, Cookie cookie)
          Performs most common Cookie validation
 boolean CookieSpecBase.match(java.lang.String host, int port, java.lang.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(java.lang.String host, int port, java.lang.String path, boolean secure, Cookie[] cookies)
          Return an array of Cookies that should be submitted with a request with given attributes, false otherwise.
 java.lang.String CookieSpecBase.formatCookie(Cookie cookie)
          Return a string suitable for sending in a "Cookie" header
 java.lang.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 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(java.lang.String host, int port, java.lang.String path, boolean secure, Cookie cookie)
          Performs Netscape draft compliant Cookie validation
 void RFC2109Spec.parseAttribute(NameValuePair attribute, Cookie cookie)
          Parse RFC 2109 specific cookie attribute and update the corresponsing Cookie properties.
 void RFC2109Spec.validate(java.lang.String host, int port, java.lang.String path, boolean secure, Cookie cookie)
          Performs RFC 2109 compliant Cookie validation
 java.lang.String RFC2109Spec.formatCookie(Cookie cookie)
          Return a string suitable for sending in a "Cookie" header as defined in RFC 2109
 java.lang.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
 



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