Class BufferedHeader

java.lang.Object
org.apache.http.message.BufferedHeader
All Implemented Interfaces:
Serializable, Cloneable, FormattedHeader, Header

public class BufferedHeader extends Object implements FormattedHeader, Cloneable, Serializable
This class represents a raw HTTP header whose content is parsed 'on demand' only when the header value needs to be consumed.
Since:
4.0
See Also:
  • Constructor Details

    • BufferedHeader

      public BufferedHeader(CharArrayBuffer buffer) throws ParseException
      Creates a new header from a buffer. The name of the header will be parsed immediately, the value only if it is accessed.
      Parameters:
      buffer - the buffer containing the header to represent
      Throws:
      ParseException - in case of a parse error
  • Method Details