Http2Headers into HPACK-encoded headers blocks.
| Modifier and Type | Class and Description |
|---|---|
| public static interface | Http2HeadersEncoder.
Configuration related elements for the |
| public static interface | Http2HeadersEncoder.
Determine if a header name/value pair is treated as sensitive. |
| Modifier and Type | Field and Description |
|---|---|
| public static final Http2HeadersEncoder. | ALWAYS_SENSITIVE
Always return |
| public static final Http2HeadersEncoder. | NEVER_SENSITIVE
Always return |
| Modifier and Type | Method and Description |
|---|---|
| public Http2HeadersEncoder. | |
| public void | encodeHeaders(int
the identifier of the stream for which the headers are encoded. streamId, Http2Headers the headers to be encoded. headers, ByteBuf the buffer to receive the encoded headers. buffer)Encodes the given headers and writes the output headers block to the given output buffer. |
| ALWAYS_SENSITIVE | back to summary |
|---|---|
| public static final Http2HeadersEncoder. Always return | |
| NEVER_SENSITIVE | back to summary |
|---|---|
| public static final Http2HeadersEncoder. Always return | |
| configuration | back to summary |
|---|---|
| public Http2HeadersEncoder. Get the | |
| encodeHeaders | back to summary |
|---|---|
| public void encodeHeaders(int streamId, Http2Headers headers, ByteBuf buffer) throws Http2Exception Encodes the given headers and writes the output headers block to the given output buffer.
| |
Http2HeadersEncoder interface
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public long | |
| public void | |
| public long |
| maxHeaderListSize | back to summary |
|---|---|
| public void maxHeaderListSize(long max) throws Http2Exception Represents the value for
SETTINGS_MAX_HEADER_LIST_SIZE.
This method should only be called by Netty (not users) as a result of a receiving a | |
| maxHeaderListSize | back to summary |
|---|---|
| public long maxHeaderListSize() Represents the value for SETTINGS_MAX_HEADER_LIST_SIZE. | |
| maxHeaderTableSize | back to summary |
|---|---|
| public void maxHeaderTableSize(long max) throws Http2Exception Represents the value for
SETTINGS_HEADER_TABLE_SIZE.
This method should only be called by Netty (not users) as a result of a receiving a | |
| maxHeaderTableSize | back to summary |
|---|---|
| public long maxHeaderTableSize() Represents the value for
SETTINGS_HEADER_TABLE_SIZE.
The initial value returned by this method must be | |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | isSensitive(CharSequence
The name for the header. name, CharSequence The value of the header. value)Determine if a header |
| isSensitive | back to summary |
|---|---|
| public boolean isSensitive(CharSequence name, CharSequence value) Determine if a header
| |