public static class DefaultHttp2ConnectionDecoder.Builder extends Object implements Http2ConnectionDecoder.Builder
DefaultHttp2ConnectionDecoder.| Constructor and Description |
|---|
DefaultHttp2ConnectionDecoder.Builder() |
| Modifier and Type | Method and Description |
|---|---|
Http2ConnectionDecoder |
build()
Creates a new decoder instance.
|
DefaultHttp2ConnectionDecoder.Builder |
connection(Http2Connection connection)
Sets the
Http2Connection to be used when building the decoder. |
DefaultHttp2ConnectionDecoder.Builder |
encoder(Http2ConnectionEncoder encoder)
Sets the
Http2ConnectionEncoder used when building the decoder. |
DefaultHttp2ConnectionDecoder.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. |
DefaultHttp2ConnectionDecoder.Builder |
lifecycleManager(Http2LifecycleManager lifecycleManager)
Sets the
Http2LifecycleManager to be used when building the decoder. |
DefaultHttp2ConnectionDecoder.Builder |
listener(Http2FrameListener listener)
Sets the
Http2FrameListener to be used when building the decoder. |
public DefaultHttp2ConnectionDecoder.Builder()
public DefaultHttp2ConnectionDecoder.Builder connection(Http2Connection connection)
Http2ConnectionDecoder.BuilderHttp2Connection to be used when building the decoder.connection in interface Http2ConnectionDecoder.Builderpublic DefaultHttp2ConnectionDecoder.Builder lifecycleManager(Http2LifecycleManager lifecycleManager)
Http2ConnectionDecoder.BuilderHttp2LifecycleManager to be used when building the decoder.lifecycleManager in interface Http2ConnectionDecoder.Builderpublic Http2LifecycleManager lifecycleManager()
Http2ConnectionDecoder.BuilderHttp2LifecycleManager to be used when building the decoder.lifecycleManager in interface Http2ConnectionDecoder.Builderpublic DefaultHttp2ConnectionDecoder.Builder frameReader(Http2FrameReader frameReader)
Http2ConnectionDecoder.BuilderHttp2FrameReader to be used when building the decoder.frameReader in interface Http2ConnectionDecoder.Builderpublic DefaultHttp2ConnectionDecoder.Builder listener(Http2FrameListener listener)
Http2ConnectionDecoder.BuilderHttp2FrameListener to be used when building the decoder.listener in interface Http2ConnectionDecoder.Builderpublic DefaultHttp2ConnectionDecoder.Builder encoder(Http2ConnectionEncoder encoder)
Http2ConnectionDecoder.BuilderHttp2ConnectionEncoder used when building the decoder.encoder in interface Http2ConnectionDecoder.Builderpublic Http2ConnectionDecoder build()
Http2ConnectionDecoder.Builderbuild in interface Http2ConnectionDecoder.BuilderCopyright © 2008–2015 The Netty Project. All rights reserved.