org.apache.http
Class Header.BufferedHeader

java.lang.Object
  extended by org.apache.http.Header
      extended by org.apache.http.Header.BufferedHeader
Enclosing class:
Header

static class Header.BufferedHeader
extends Header

This class represents a raw HTTP header whose content is parsed 'on demand' only when the header value needs to be consumed


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.http.Header
Header.BufferedHeader
 
Method Summary
 HeaderElement[] getElements()
          Returns an array of HeaderElements constructed from my value.
 java.lang.String getValue()
          Returns the header value.
 java.lang.String toString()
          Returns a String representation of the header.
 
Methods inherited from class org.apache.http.Header
format, format, getName, parseAll
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getValue

public java.lang.String getValue()
Description copied from class: Header
Returns the header value.

Overrides:
getValue in class Header
Returns:
String value The current value.

getElements

public HeaderElement[] getElements()
Description copied from class: Header
Returns an array of HeaderElements constructed from my value.

Overrides:
getElements in class Header
Returns:
an array of header elements
See Also:
HeaderElement.parseAll(org.apache.http.io.CharArrayBuffer, int, int)

toString

public java.lang.String toString()
Description copied from class: Header
Returns a String representation of the header.

Overrides:
toString in class Header
Returns:
a string


Copyright 2005-2005-2006 Apache Software Foundation. All Rights Reserved.