Module io.netty.codec.http2
Package io.netty5.handler.codec.http2
Interface Http2HeadersEncoder.Configuration
-
- All Known Implementing Classes:
DefaultHttp2HeadersEncoder
- Enclosing interface:
- Http2HeadersEncoder
public static interface Http2HeadersEncoder.Configuration
Configuration related elements for theHttp2HeadersEncoder
interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
maxHeaderListSize()
Represents the value for SETTINGS_MAX_HEADER_LIST_SIZE.void
maxHeaderListSize(long max)
Represents the value for SETTINGS_MAX_HEADER_LIST_SIZE.long
maxHeaderTableSize()
Represents the value for SETTINGS_HEADER_TABLE_SIZE.void
maxHeaderTableSize(long max)
Represents the value for SETTINGS_HEADER_TABLE_SIZE.
-
-
-
Method Detail
-
maxHeaderTableSize
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 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
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 aSETTINGS
frame.- Throws:
Http2Exception
-
maxHeaderListSize
long maxHeaderListSize()
Represents the value for SETTINGS_MAX_HEADER_LIST_SIZE.
-
-