public final class HelloWorldHttp2HandlerBuilder extends AbstractHttp2ConnectionHandlerBuilder<HelloWorldHttp2Handler,HelloWorldHttp2HandlerBuilder>
限定符和类型 | 方法和说明 |
---|---|
HelloWorldHttp2Handler |
build()
Create a new
Http2ConnectionHandler . |
protected HelloWorldHttp2Handler |
build(Http2ConnectionDecoder decoder,
Http2ConnectionEncoder encoder,
Http2Settings initialSettings)
Implement this method to create a new
Http2ConnectionHandler or its subtype instance. |
autoAckPingFrame, autoAckSettingsFrame, codec, connection, connection, decoder, decoderEnforceMaxConsecutiveEmptyDataFrames, decoderEnforceMaxConsecutiveEmptyDataFrames, decoderEnforceMaxRstFramesPerWindow, decoupleCloseAndGoAway, decoupleCloseAndGoAway, encoder, encoderEnforceMaxConcurrentStreams, encoderEnforceMaxConcurrentStreams, encoderEnforceMaxQueuedControlFrames, encoderEnforceMaxQueuedControlFrames, encoderIgnoreMaxHeaderListSize, flushPreface, flushPreface, frameListener, frameListener, frameLogger, frameLogger, gracefulShutdownTimeoutMillis, gracefulShutdownTimeoutMillis, headerSensitivityDetector, headerSensitivityDetector, initialHuffmanDecodeCapacity, initialSettings, initialSettings, isAutoAckPingFrame, isAutoAckSettingsFrame, isServer, isValidateHeaders, maxReservedStreams, maxReservedStreams, promisedRequestVerifier, promisedRequestVerifier, self, server, validateHeaders
public HelloWorldHttp2Handler build()
Http2ConnectionHandler
.protected HelloWorldHttp2Handler build(Http2ConnectionDecoder decoder, Http2ConnectionEncoder encoder, Http2Settings initialSettings)
Http2ConnectionHandler
or its subtype instance.
The return of this method will be subject to the following:
AbstractHttp2ConnectionHandlerBuilder.frameListener(Http2FrameListener)
will be set if not already set in the decoderAbstractHttp2ConnectionHandlerBuilder.gracefulShutdownTimeoutMillis(long)
will always be set