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