Http2Session
and is responsible for session (connection) level flow control.
| Modifier and Type | Field and Description |
|---|---|
| private final AtomicInteger | |
| protected final Http2Session | |
| private static final Logger | |
| private static final int | |
| private static final int | |
| private final TaskQueue | |
| private final List | |
| private final AtomicBoolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected boolean | |
| public void | |
| private void | |
| protected Http2FrameCodec | |
| protected int | |
| protected void | |
| protected void | |
| protected void | writeDataDownStream(final Http2Stream stream, final List<Http2Frame> headerFrames, Buffer data, final CompletionHandler<WriteResult<K, L>> completionHandler, final MessageCloner<Buffer> messageCloner, final boolean isLast)
|
| protected void | |
| protected void | |
| protected <K> void | writeDownStream(final K anyMessage, final CompletionHandler<WriteResult<K, L>> completionHandler, final MessageCloner<Buffer> messageCloner)
|
| availConnectionWindowSize | back to summary |
|---|---|
| private final AtomicInteger availConnectionWindowSize | |
| http2Session | back to summary |
|---|---|
| protected final Http2Session http2Session | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| MAX_FRAME_PAYLOAD_SIZE | back to summary |
|---|---|
| private static final int MAX_FRAME_PAYLOAD_SIZE | |
| MAX_OUTPUT_QUEUE_SIZE | back to summary |
|---|---|
| private static final int MAX_OUTPUT_QUEUE_SIZE | |
| outputQueue | back to summary |
|---|---|
| private final TaskQueue<Http2OutputQueueRecord> outputQueue | |
| tmpFramesList | back to summary |
|---|---|
| private final List<Http2Frame> tmpFramesList | |
| writerLock | back to summary |
|---|---|
| private final AtomicBoolean writerLock | |
| Http2SessionOutputSink | back to summary |
|---|---|
| public Http2SessionOutputSink(Http2Session session) | |
| canWrite | back to summary |
|---|---|
| protected boolean canWrite() | |
| close | back to summary |
|---|---|
| public void close() | |
| flushOutputQueue | back to summary |
|---|---|
| private void flushOutputQueue() | |
| frameCodec | back to summary |
|---|---|
| protected Http2FrameCodec frameCodec() | |
| getAvailablePeerConnectionWindowSize | back to summary |
|---|---|
| protected int getAvailablePeerConnectionWindowSize() | |
| notifyCanWrite | back to summary |
|---|---|
| protected void notifyCanWrite(final WriteHandler writeHandler) | |
| onPeerWindowUpdate | back to summary |
|---|---|
| protected void onPeerWindowUpdate(final int delta) throws Http2SessionException | |
| writeDataDownStream | back to summary |
|---|---|
| protected void writeDataDownStream(final Http2Stream stream, final List<Http2Frame> headerFrames, Buffer data, final CompletionHandler<WriteResult<K, L>> completionHandler, final MessageCloner<Buffer> messageCloner, final boolean isLast) | |
| writeDownStream | back to summary |
|---|---|
| protected void writeDownStream(final Http2Frame frame) | |
| writeDownStream | back to summary |
|---|---|
| protected void writeDownStream(final List<Http2Frame> frames) | |
| writeDownStream | back to summary |
|---|---|
protected <K> void writeDownStream(final K anyMessage, final CompletionHandler<WriteResult<K, L>> completionHandler, final MessageCloner<Buffer> messageCloner)
| |