Package | Description |
---|---|
io.netty.handler.codec.http2 |
Handlers for sending and receiving HTTP/2 frames.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultHttp2ConnectionEncoder.FlowControlledBase
Common base type for payloads to deliver via flow-control.
|
private class |
DefaultHttp2ConnectionEncoder.FlowControlledData
Wrap a DATA frame so it can be written subject to flow-control.
|
private class |
DefaultHttp2ConnectionEncoder.FlowControlledHeaders
Wrap headers so they can be written subject to flow-control.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Deque<Http2RemoteFlowController.FlowControlled> |
DefaultHttp2RemoteFlowController.FlowState.pendingWriteQueue |
Modifier and Type | Method and Description |
---|---|
private Http2RemoteFlowController.FlowControlled |
DefaultHttp2RemoteFlowController.FlowState.peek()
Returns the the head of the pending queue, or
null if empty. |
Modifier and Type | Method and Description |
---|---|
void |
Http2RemoteFlowController.addFlowControlled(Http2Stream stream,
Http2RemoteFlowController.FlowControlled payload)
Queues a payload for transmission to the remote endpoint.
|
void |
DefaultHttp2RemoteFlowController.addFlowControlled(Http2Stream stream,
Http2RemoteFlowController.FlowControlled frame) |
(package private) void |
DefaultHttp2RemoteFlowController.WritabilityMonitor.enqueueFrame(DefaultHttp2RemoteFlowController.FlowState state,
Http2RemoteFlowController.FlowControlled frame)
Add a frame to be sent via flow control.
|
(package private) void |
DefaultHttp2RemoteFlowController.ListenerWritabilityMonitor.enqueueFrame(DefaultHttp2RemoteFlowController.FlowState state,
Http2RemoteFlowController.FlowControlled frame) |
(package private) void |
DefaultHttp2RemoteFlowController.FlowState.enqueueFrame(Http2RemoteFlowController.FlowControlled frame)
Adds the
frame to the pending queue and increments the pending byte count. |
private void |
DefaultHttp2RemoteFlowController.FlowState.enqueueFrameWithoutMerge(Http2RemoteFlowController.FlowControlled frame) |
boolean |
DefaultHttp2ConnectionEncoder.FlowControlledData.merge(ChannelHandlerContext ctx,
Http2RemoteFlowController.FlowControlled next) |
boolean |
DefaultHttp2ConnectionEncoder.FlowControlledHeaders.merge(ChannelHandlerContext ctx,
Http2RemoteFlowController.FlowControlled next) |
boolean |
Http2RemoteFlowController.FlowControlled.merge(ChannelHandlerContext ctx,
Http2RemoteFlowController.FlowControlled next)
Merge the contents of the
next message into this message so they can be written out as one unit. |
private void |
DefaultHttp2RemoteFlowController.FlowState.writeError(Http2RemoteFlowController.FlowControlled frame,
Http2Exception cause)
Discards this
FlowControlled , writing an error. |