| Modifier and Type | Field and Description |
|---|---|
| private final CharArrayBuffer | buffer
The buffer containing the entire header line. |
| private final String | name
Header name. |
| private static final long | |
| private final int | valuePos
The beginning of the header value in the buffer |
| Access | Constructor and Description |
|---|---|
| public | BufferedHeader(final CharArrayBuffer
the buffer containing the header to represent buffer)Creates a new header from a buffer. |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static BufferedHeader | |
| public CharArrayBuffer | getBuffer()
Implements org. |
| public String | |
| public String | |
| public int | getValuePos()
Implements org. buffer.
|
| public boolean | isSensitive()
Implements org. true if the header should be considered sensitive.
|
| public String |
| buffer | back to summary |
|---|---|
| private final CharArrayBuffer buffer The buffer containing the entire header line. | |
| name | back to summary |
|---|---|
| private final String name Header name. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| valuePos | back to summary |
|---|---|
| private final int valuePos The beginning of the header value in the buffer | |
| BufferedHeader | back to summary |
|---|---|
| public BufferedHeader(final 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.
| |
| BufferedHeader | back to summary |
|---|---|
| pack-priv BufferedHeader(final CharArrayBuffer buffer, final boolean strict) throws ParseException | |
| create | back to summary |
|---|---|
public static BufferedHeader create(final CharArrayBuffer buffer)
| |
| getBuffer | back to summary |
|---|---|
| public CharArrayBuffer getBuffer() Implements org. Doc from org. Obtains the buffer with the formatted header. The returned buffer MUST NOT be modified.
| |
| getName | back to summary |
|---|---|
| public String getName() Implements org. Doc from org. Gets the name of this pair. | |
| getValue | back to summary |
|---|---|
| public String getValue() Implements org. Doc from org. Gets the value of this pair. | |
| getValuePos | back to summary |
|---|---|
| public int getValuePos() Implements org. Doc from org. Obtains the start of the header value in the | |
| isSensitive | back to summary |
|---|---|
| public boolean isSensitive() Implements org. Doc from org. Returns Some encoding schemes such as HPACK impose restrictions on encoded representation of sensitive headers.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |