Http2ConnectionHandler objects.
| Access | Constructor and Description |
|---|---|
| public |
| Http2ConnectionHandlerBuilder | back to summary |
|---|---|
| public Http2ConnectionHandlerBuilder() | |
| build | back to summary |
|---|---|
| public Http2ConnectionHandler build() Overrides io. Doc from io. Create a new
| |
| build | back to summary |
|---|---|
| protected Http2ConnectionHandler build(Http2ConnectionDecoder decoder, Http2ConnectionEncoder encoder, Http2Settings initialSettings) Implements abstract io. Doc from io. Implement this method to create a new The return of this method will be subject to the following:
| |
| codec | back to summary |
|---|---|
| public Http2ConnectionHandlerBuilder codec(Http2ConnectionDecoder decoder, Http2ConnectionEncoder encoder) Overrides io. Doc from io. Sets the
| |
| connection | back to summary |
|---|---|
| public Http2ConnectionHandlerBuilder connection(Http2Connection connection) Overrides io. Doc from io. Sets the
| |
| decoupleCloseAndGoAway | back to summary |
|---|---|
| public Http2ConnectionHandlerBuilder decoupleCloseAndGoAway(boolean decoupleCloseAndGoAway) Overrides io. Doc from io. Determine if the
| |
| encoderEnforceMaxConcurrentStreams | back to summary |
|---|---|
| public Http2ConnectionHandlerBuilder encoderEnforceMaxConcurrentStreams(boolean encoderEnforceMaxConcurrentStreams) Sets if the encoder should queue frames if the maximum number of concurrent streams would otherwise be exceeded.
| |
| encoderIgnoreMaxHeaderListSize | back to summary |
|---|---|
| public Http2ConnectionHandlerBuilder encoderIgnoreMaxHeaderListSize(boolean encoderIgnoreMaxHeaderListSize) Overrides io. Doc from io. Sets if the SETTINGS_MAX_HEADER_LIST_SIZE should be ignored when encoding headers.
| |
| flushPreface | back to summary |
|---|---|
| public Http2ConnectionHandlerBuilder flushPreface(boolean flushPreface) Overrides io. Doc from io. Determine if the Preface
should be automatically flushed when the Client may choose to opt-out from this automatic behavior and manage flush manually if it's ready to send request frames immediately after the preface. It may help to avoid unnecessary latency.
| |
| frameListener | back to summary |
|---|---|
| public Http2ConnectionHandlerBuilder frameListener(Http2FrameListener frameListener) Overrides io. Doc from io. Sets the listener of inbound frames.
This listener will only be set if the decoder's listener is
| |
| frameLogger | back to summary |
|---|---|
| public Http2ConnectionHandlerBuilder frameLogger(Http2FrameLogger frameLogger) Overrides io. Doc from io. Sets the logger that is used for the encoder and decoder.
| |
| gracefulShutdownTimeoutMillis | back to summary |
|---|---|
| public Http2ConnectionHandlerBuilder gracefulShutdownTimeoutMillis(long gracefulShutdownTimeoutMillis) Overrides io. Doc from io. Sets the graceful shutdown timeout of the
| |
| headerSensitivityDetector | back to summary |
|---|---|
| public Http2ConnectionHandlerBuilder headerSensitivityDetector(Http2HeadersEncoder. Overrides io. Doc from io. Sets the
| |
| initialHuffmanDecodeCapacity | back to summary |
|---|---|
| public Http2ConnectionHandlerBuilder initialHuffmanDecodeCapacity(int initialHuffmanDecodeCapacity) Overrides io. Doc from io. Deprecated
Does nothing, do not call.
| |
| initialSettings | back to summary |
|---|---|
| public Http2ConnectionHandlerBuilder initialSettings(Http2Settings settings) Overrides io. Doc from io. Sets the
| |
| initialSettings | back to summary |
|---|---|
| public Http2Settings initialSettings() Overrides io. Doc from io. Sets the
| |
| maxReservedStreams | back to summary |
|---|---|
| public Http2ConnectionHandlerBuilder maxReservedStreams(int maxReservedStreams) Overrides io. Doc from io. Set the maximum number of streams which can be in the reserved state at any given time.
| |
| server | back to summary |
|---|---|
| public Http2ConnectionHandlerBuilder server(boolean isServer) Overrides io. Doc from io. Sets if
| |
| validateHeaders | back to summary |
|---|---|
| public Http2ConnectionHandlerBuilder validateHeaders(boolean validateHeaders) Overrides io. Doc from io. Sets if HTTP headers should be validated according to RFC 7540, 8.1.2.6.
| |