Http2Headers.
| Modifier and Type | Class and Description |
|---|---|
| public static interface | Http2HeadersDecoder.Configuration
Configuration related elements for the |
| Modifier and Type | Method and Description |
|---|---|
| public Http2HeadersDecoder. | |
| public Http2Headers | decodeHeaders(int streamId, ByteBuf headerBlock)
Decodes the given headers block and returns the headers. |
| configuration | back to summary |
|---|---|
| public Http2HeadersDecoder. Get the | |
| decodeHeaders | back to summary |
|---|---|
| public Http2Headers decodeHeaders(int streamId, ByteBuf headerBlock) throws Http2Exception Decodes the given headers block and returns the headers. | |
Http2HeadersDecoder interface
| Modifier and Type | Method and Description |
|---|---|
| public void | maxHeaderListSize(long
SETTINGS_MAX_HEADER_LIST_SIZE.
If this limit is exceeded the implementation should attempt to keep the HPACK header tables up to date
by processing data from the peer, but a max, long RST_STREAM frame will be sent for the offending stream.Must be goAwayMax)>= max. A GO_AWAY frame will be generated if this limit is exceeded
for any particular stream.Configure the maximum allowed size in bytes of each set of headers. |
| public long | |
| public long | maxHeaderListSizeGoAway()
Represents the upper bound in bytes for a set of headers before a |
| public void | |
| public long |
| maxHeaderListSize | back to summary |
|---|---|
| public void maxHeaderListSize(long max, long goAwayMax) throws Http2Exception Configure the maximum allowed size in bytes of each set of headers.
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. | |
| maxHeaderListSizeGoAway | back to summary |
|---|---|
| public long maxHeaderListSizeGoAway() Represents the upper bound in bytes for a set of headers before a | |
| 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 | |