java.lang.Object | |
↳ | org.apache.http.message.BufferedHeader |
This class represents a raw HTTP header whose content is parsed 'on demand' only when the header value needs to be consumed.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new header from a buffer.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Obtains the buffer with the formatted header.
| |||||||||||
Obtains the start of the header value in the
buffer . | |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.apache.http.FormattedHeader
| |||||||||||
From interface
org.apache.http.Header
|
Creates a new header from a buffer. The name of the header will be parsed immediately, the value only if it is accessed.
buffer | the buffer containing the header to represent |
---|
ParseException | in case of a parse error |
---|
Obtains the buffer with the formatted header. The returned buffer MUST NOT be modified.