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 TypeMethodDescriptionlongRepresents the value for SETTINGS_MAX_HEADER_LIST_SIZE.voidmaxHeaderListSize(long max) Represents the value for SETTINGS_MAX_HEADER_LIST_SIZE.longRepresents the value for SETTINGS_HEADER_TABLE_SIZE.voidmaxHeaderTableSize(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 aSETTINGSframe.- 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 aSETTINGSframe.- Throws:
Http2Exception
-
maxHeaderListSize
long maxHeaderListSize()Represents the value for SETTINGS_MAX_HEADER_LIST_SIZE.
-