Http2Stream.
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public void | |
| public void | flush(CompletionHandler<Http2Stream>
CompletionHandler to be notifiedFlush |
| public int | getUnflushedWritesCount()
Returns: the number of writes (not bytes), that haven't reached network layer |
| public boolean | |
| public void | |
| public void | onPeerWindowUpdate(int
the delta. delta)The method is called by HTTP2 Filter once WINDOW_UPDATE message comes for this |
| public void | terminate(Termination terminationFlag)
Unlike |
| public void | writeDownStream(HttpPacket httpPacket, FilterChainContext ctx, CompletionHandler<WriteResult<K, L>> completionHandler, MessageCloner<Buffer> messageCloner)
|
| canWrite | back to summary |
|---|---|
| public boolean canWrite() | |
| close | back to summary |
|---|---|
| public void close() Closes the output sink by adding last DataFrame with the FIN flag to a queue. If the output sink is already closed - method does nothing. | |
| flush | back to summary |
|---|---|
| public void flush(CompletionHandler<Http2Stream> completionHandler) Flush
| |
| getUnflushedWritesCount | back to summary |
|---|---|
public int getUnflushedWritesCount()
| |
| isClosed | back to summary |
|---|---|
| public boolean isClosed() | |
| notifyWritePossible | back to summary |
|---|---|
| public void notifyWritePossible(WriteHandler writeHandler) | |
| onPeerWindowUpdate | back to summary |
|---|---|
| public void onPeerWindowUpdate(int delta) throws Http2StreamException The method is called by HTTP2 Filter once WINDOW_UPDATE message comes for this
| |
| terminate | back to summary |
|---|---|
| public void terminate(Termination terminationFlag) Unlike | |
| writeDownStream | back to summary |
|---|---|
| public void writeDownStream(HttpPacket httpPacket, FilterChainContext ctx, CompletionHandler<WriteResult<K, L>> completionHandler, MessageCloner<Buffer> messageCloner) throws IOException | |