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

Packages that use Header
org.apache.commons.httpclient Classes and interfaces supporting the client side of the HTTP protocol. 
org.apache.commons.httpclient.auth Provides implementation of various authentication schemes as well as utility classes that can be used to authenticate HTTP requests. 
org.apache.commons.httpclient.cookie Provides cookie handling in conjunction with Cookie
 

Uses of Header in org.apache.commons.httpclient
 

Fields in org.apache.commons.httpclient declared as Header
protected static Header HttpMethodBase.USER_AGENT
          The User-Agent header sent on every request.
 

Methods in org.apache.commons.httpclient that return Header
 Header HttpMethod.getRequestHeader(String headerName)
          Gets the request header with the given name.
 Header[] HttpMethod.getRequestHeaders()
          Returns the current request headers for this HTTP method.
 Header[] HttpMethod.getResponseHeaders()
          Returns the response headers from the most recent execution of this request.
 Header HttpMethod.getResponseHeader(String headerName)
          Returns the specified response header.
 Header[] HttpMethod.getResponseFooters()
          Returns the response footers from the most recent execution of this request.
 Header HttpMethod.getResponseFooter(String footerName)
          Return the specified response footer.
 Header HttpMethodBase.getRequestHeader(String headerName)
          Returns the specified request header.
 Header[] HttpMethodBase.getRequestHeaders()
          Returns an array of the requests headers that the HTTP method currently has
 Header[] HttpMethodBase.getResponseHeaders()
          Returns an array of the response headers that the HTTP method currently has in the order in which they were read.
 Header HttpMethodBase.getResponseHeader(String headerName)
          Gets the response header associated with the given name.
 Header[] HttpMethodBase.getResponseFooters()
          Returns an array of the response footers that the HTTP method currently has in the order in which they were read.
 Header HttpMethodBase.getResponseFooter(String footerName)
          Gets the response footer associated with the given name.
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
static Header[] HttpParser.parseHeaders(InputStream is)
          Parses headers from the given stream.
 Header HeaderGroup.getCondensedHeader(String name)
          Gets a header representing all of the header values with the given name.
 Header[] HeaderGroup.getHeaders(String name)
          Gets all of the headers with the given name.
 Header HeaderGroup.getFirstHeader(String name)
          Gets the first header with the given name.
 Header HeaderGroup.getLastHeader(String name)
          Gets the last header with the given name.
 Header[] HeaderGroup.getAllHeaders()
          Gets all of the headers contained within this group.
 

Methods in org.apache.commons.httpclient with parameters of type Header
 void HttpMethod.setRequestHeader(Header header)
          Sets the specified request header, overwriting any previous value.
 void HttpMethod.addRequestHeader(Header header)
          Adds the specified request header, not overwriting any previous value.
 void HttpMethod.addResponseFooter(Header footer)
          Add a footer to this method's response.
 void HttpMethodBase.addRequestHeader(Header header)
          Adds the specified request header, NOT overwriting any previous value.
 void HttpMethodBase.addResponseFooter(Header footer)
          Use this method internally to add footers.
 void HttpMethodBase.setRequestHeader(Header header)
          Sets the specified request header, overwriting any previous value.
protected static String HttpMethodBase.getContentCharSet(Header contentheader)
          Returns the character set from the Content-Type header.
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
 void HeaderGroup.addHeader(Header header)
          Adds the given header to the group.
 void HeaderGroup.removeHeader(Header header)
          Removes the given header.
 void HeaderGroup.setHeaders(Header[] headers)
          Sets all of the headers contained within this group overriding any existing headers.
 

Uses of Header in org.apache.commons.httpclient.auth
 

Methods in org.apache.commons.httpclient.auth with parameters of type Header
static AuthScheme HttpAuthenticator.selectAuthScheme(Header[] challenges)
          Chooses the strongest authentication scheme supported from the array of authentication challenges.
 

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

Methods in org.apache.commons.httpclient.cookie that return 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.
 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.
 

Methods in org.apache.commons.httpclient.cookie with parameters of type Header
 Cookie[] CookieSpecBase.parse(String host, int port, String path, boolean secure, Header header)
          Parse the "Set-Cookie" Header into an array of Cookies.
 Cookie[] CookieSpec.parse(String host, int port, String path, boolean secure, Header header)
          Parse the "Set-Cookie" Header into an array of Cookies.
 



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