Package io.netty.handler.codec.http2
Interface Http2HeadersEncoder.Configuration
- All Known Implementing Classes:
DefaultHttp2HeadersEncoder
- Enclosing interface:
Http2HeadersEncoder
public static interface Http2HeadersEncoder.Configuration
Configuration related elements for the
Http2HeadersEncoder
interface-
Method Summary
Modifier and TypeMethodDescriptionlong
Represents the value for SETTINGS_MAX_HEADER_LIST_SIZE.void
maxHeaderListSize
(long max) Represents the value for SETTINGS_MAX_HEADER_LIST_SIZE.long
Represents the value for SETTINGS_HEADER_TABLE_SIZE.void
maxHeaderTableSize
(long max) Represents the value for SETTINGS_HEADER_TABLE_SIZE.
-
Method Details
-
maxHeaderTableSize
Represents the value for SETTINGS_HEADER_TABLE_SIZE. This method should only be called by Netty (not users) as a result of a receiving aSETTINGS
frame.- Throws:
Http2Exception
-
maxHeaderTableSize
long maxHeaderTableSize()Represents the value for SETTINGS_HEADER_TABLE_SIZE. The initial value returned by this method must beHttp2CodecUtil.DEFAULT_HEADER_TABLE_SIZE
. -
maxHeaderListSize
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 aSETTINGS
frame.- Throws:
Http2Exception
-
maxHeaderListSize
long maxHeaderListSize()Represents the value for SETTINGS_MAX_HEADER_LIST_SIZE.
-