Fix incorrect javadocs in Http2RemoteFlowController
Motivation: The javadocs of Http2RemoteFlowController.isWritable(...) are incorrect. Modifications: Update javadocs to reflect reality. Result: Correct javadocs.
This commit is contained in:
parent
0f8ecdcad5
commit
348745608f
@ -67,11 +67,12 @@ public interface Http2RemoteFlowController extends Http2FlowController {
|
|||||||
/**
|
/**
|
||||||
* Determine if the {@code stream} has bytes remaining for use in the flow control window.
|
* Determine if the {@code stream} has bytes remaining for use in the flow control window.
|
||||||
* <p>
|
* <p>
|
||||||
* Note that this only takes into account HTTP/2 flow control. It does <strong>not</strong> take into account
|
* Note that this method respects channel writability. The channel must be writable for this method to
|
||||||
* the underlying {@link io.netty.channel.Channel#isWritable()}.
|
* return {@code true}.
|
||||||
|
*
|
||||||
* @param stream The stream to test.
|
* @param stream The stream to test.
|
||||||
* @return {@code true} if if the {@code stream} has bytes remaining for use in the flow control window.
|
* @return {@code true} if the {@code stream} has bytes remaining for use in the flow control window and the
|
||||||
* {@code false} otherwise.
|
* channel is writable, {@code false} otherwise.
|
||||||
*/
|
*/
|
||||||
boolean isWritable(Http2Stream stream);
|
boolean isWritable(Http2Stream stream);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user