Uses of Interface
org.apache.http.Header

Packages that use Header
org.apache.http The core interfaces and classes of the HTTP components. 
org.apache.http.entity Representations for HTTP message entities. 
org.apache.http.impl.io Default implementations for interfaces in org.apache.http.io
org.apache.http.message A selection of HTTP message implementations. 
org.apache.http.util Mostly utility classes with static helper methods for various purposes. 
 

Uses of Header in org.apache.http
 

Methods in org.apache.http that return Header
 Header[] HttpMessage.getHeaders(java.lang.String name)
          Returns all the headers with a specified name of this message.
 Header HttpMessage.getFirstHeader(java.lang.String name)
          Returns the first header with a specified name of this message.
 Header HttpMessage.getLastHeader(java.lang.String name)
          Returns the last header with a specified name of this message.
 Header[] HttpMessage.getAllHeaders()
          Returns all the headers of this message.
 Header HttpEntity.getContentType()
          Obtains the Content-Type header, if known.
 Header HttpEntity.getContentEncoding()
          Obtains the Content-Encoding header, if known.
 

Methods in org.apache.http with parameters of type Header
 void HttpMessage.addHeader(Header header)
          Adds a header to this message.
 void HttpMessage.setHeader(Header header)
          Overwrites the first header with the same name.
 void HttpMessage.setHeaders(Header[] headers)
          Overwrites all the headers in the message.
 void HttpMessage.removeHeader(Header header)
          Removes a header from this message.
 

Uses of Header in org.apache.http.entity
 

Fields in org.apache.http.entity declared as Header
protected  Header AbstractHttpEntity.contentType
          The Content-Type header.
protected  Header AbstractHttpEntity.contentEncoding
          The Content-Encoding header.
 

Methods in org.apache.http.entity that return Header
 Header HttpEntityWrapper.getContentType()
           
 Header HttpEntityWrapper.getContentEncoding()
           
 Header AbstractHttpEntity.getContentType()
          Obtains the Content-Type header.
 Header AbstractHttpEntity.getContentEncoding()
          Obtains the Content-Encoding header.
 

Methods in org.apache.http.entity with parameters of type Header
 void AbstractHttpEntity.setContentType(Header contentType)
          Specifies the Content-Type header.
 void AbstractHttpEntity.setContentEncoding(Header contentEncoding)
          Specifies the Content-Encoding header.
 

Uses of Header in org.apache.http.impl.io
 

Methods in org.apache.http.impl.io that return Header
 Header[] ChunkedInputStream.getFooters()
           
 

Uses of Header in org.apache.http.message
 

Classes in org.apache.http.message that implement Header
 class BasicHeader
          Represents an HTTP header field.
 class BufferedHeader
          This class represents a raw HTTP header whose content is parsed 'on demand' only when the header value needs to be consumed.
 

Methods in org.apache.http.message that return Header
 Header[] AbstractHttpMessage.getHeaders(java.lang.String name)
           
 Header AbstractHttpMessage.getFirstHeader(java.lang.String name)
           
 Header AbstractHttpMessage.getLastHeader(java.lang.String name)
           
 Header[] AbstractHttpMessage.getAllHeaders()
           
 

Methods in org.apache.http.message with parameters of type Header
 void AbstractHttpMessage.addHeader(Header header)
           
 void AbstractHttpMessage.setHeader(Header header)
           
 void AbstractHttpMessage.setHeaders(Header[] headers)
           
 void AbstractHttpMessage.removeHeader(Header header)
           
static void BasicHeader.format(CharArrayBuffer buffer, Header header)
          Formats a Header into a header line.
static java.lang.String BasicHeader.format(Header header)
           
 

Uses of Header in org.apache.http.util
 

Methods in org.apache.http.util that return Header
static Header[] HeaderUtils.parseHeaders(HttpDataReceiver datareceiver, int maxCount)
          Parses HTTP headers from the data receiver stream according to the generic format as given in Section 3.1 of RFC 822, RFC-2616 Section 4 and 19.3.
static Header[] HeaderUtils.parseHeaders(HttpDataReceiver datareceiver)
           
 Header HeaderGroup.getCondensedHeader(java.lang.String name)
          Gets a header representing all of the header values with the given name.
 Header[] HeaderGroup.getHeaders(java.lang.String name)
          Gets all of the headers with the given name.
 Header HeaderGroup.getFirstHeader(java.lang.String name)
          Gets the first header with the given name.
 Header HeaderGroup.getLastHeader(java.lang.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.http.util with parameters of type Header
 void HeaderGroup.addHeader(Header header)
          Adds the given header to the group.
 void HeaderGroup.removeHeader(Header header)
          Removes the given header.
 void HeaderGroup.updateHeader(Header header)
          Replaces the first occurence of the header with the same name.
 void HeaderGroup.setHeaders(Header[] headers)
          Sets all of the headers contained within this group overriding any existing headers.
 



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