Complete documentation of StreamBufferingEncoder.
Motivation: The StreamBufferingEncoder is missing documentation of what happens to buffered frames when it's closed. Modifications: Added this missing piece of documentation. Result: Improved documentation.
This commit is contained in:
parent
3a8b8c9219
commit
6a6d422702
@ -47,6 +47,10 @@ import static io.netty.handler.codec.http2.Http2Exception.connectionError;
|
||||
* with an ID less than the specified {@code lastStreamId} will immediately fail with a
|
||||
* {@link Http2GoAwayException}.
|
||||
* <p/>
|
||||
* <p>
|
||||
* If the channel/encoder gets closed, all new and buffered writes will immediately fail with a
|
||||
* {@link Http2ChannelClosedException}.
|
||||
* </p>
|
||||
* <p>This implementation makes the buffering mostly transparent and is expected to be used as a
|
||||
* drop-in decorator of {@link DefaultHttp2ConnectionEncoder}.
|
||||
* </p>
|
||||
|
Loading…
x
Reference in New Issue
Block a user