| Modifier and Type | Method and Description |
|---|---|
| public Http2Connection | |
| public Http2RemoteFlowController | |
| public Http2FrameWriter | |
| public void | |
| public Http2Settings | |
| public void | remoteSettings(Http2Settings settings)
Sets the settings for the remote endpoint of the HTTP/2 connection. |
| public ChannelFuture | writeFrame(ChannelHandlerContext
the context to use for writing. ctx, byte the frame type identifier. frameType, int the stream for which to send the frame. streamId, Http2Flags the flags to write for this frame. flags, ByteBuf the payload to write for this frame. This will be released by this method. payload, ChannelPromise the promise for the write. promise)Redeclares io. Http2FrameWriter without performing any
state checks on the connection/stream.
|
| connection | back to summary |
|---|---|
| public Http2Connection connection() Provides direct access to the underlying connection. | |
| flowController | back to summary |
|---|---|
| public Http2RemoteFlowController flowController() Provides the remote flow controller for managing outbound traffic. | |
| frameWriter | back to summary |
|---|---|
| public Http2FrameWriter frameWriter() Provides direct access to the underlying frame writer object. | |
| lifecycleManager | back to summary |
|---|---|
| public void lifecycleManager(Http2LifecycleManager lifecycleManager) Sets the lifecycle manager. Must be called as part of initialization before the encoder is used. | |
| pollSentSettings | back to summary |
|---|---|
| public Http2Settings pollSentSettings() Gets the local settings on the top of the queue that has been sent but not ACKed. This may
return | |
| remoteSettings | back to summary |
|---|---|
| public void remoteSettings(Http2Settings settings) throws Http2Exception Sets the settings for the remote endpoint of the HTTP/2 connection. | |
| writeFrame | back to summary |
|---|---|
| public ChannelFuture writeFrame(ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags, ByteBuf payload, ChannelPromise promise) Redeclares io. Writes the given data to the internal
| |