public static interface Http2ConnectionDecoder.Builder
Http2ConnectionDecoder
.Modifier and Type | Method and Description |
---|---|
Http2ConnectionDecoder |
build()
Creates a new decoder instance.
|
Http2ConnectionDecoder.Builder |
connection(Http2Connection connection)
Sets the
Http2Connection to be used when building the decoder. |
Http2ConnectionDecoder.Builder |
encoder(Http2ConnectionEncoder encoder)
Sets the
Http2ConnectionEncoder used when building the decoder. |
Http2ConnectionDecoder.Builder |
frameReader(Http2FrameReader frameReader)
Sets the
Http2FrameReader to be used when building the decoder. |
Http2LifecycleManager |
lifecycleManager()
Gets the
Http2LifecycleManager to be used when building the decoder. |
Http2ConnectionDecoder.Builder |
lifecycleManager(Http2LifecycleManager lifecycleManager)
Sets the
Http2LifecycleManager to be used when building the decoder. |
Http2ConnectionDecoder.Builder |
listener(Http2FrameListener listener)
Sets the
Http2FrameListener to be used when building the decoder. |
Http2ConnectionDecoder.Builder connection(Http2Connection connection)
Http2Connection
to be used when building the decoder.Http2ConnectionDecoder.Builder lifecycleManager(Http2LifecycleManager lifecycleManager)
Http2LifecycleManager
to be used when building the decoder.Http2LifecycleManager lifecycleManager()
Http2LifecycleManager
to be used when building the decoder.Http2ConnectionDecoder.Builder frameReader(Http2FrameReader frameReader)
Http2FrameReader
to be used when building the decoder.Http2ConnectionDecoder.Builder listener(Http2FrameListener listener)
Http2FrameListener
to be used when building the decoder.Http2ConnectionDecoder.Builder encoder(Http2ConnectionEncoder encoder)
Http2ConnectionEncoder
used when building the decoder.Http2ConnectionDecoder build()
Copyright © 2008–2015 The Netty Project. All rights reserved.