public abstract class DefaultHttp2ConnectionEncoder.FlowControlledBase extends java.lang.Object implements Http2RemoteFlowController.FlowControlled, ChannelFutureListener
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
endOfStream |
protected int |
padding |
protected ChannelPromise |
promise |
protected Http2Stream |
stream |
CLOSE, CLOSE_ON_FAILURE, FIRE_EXCEPTION_ON_FAILURE| Constructor and Description |
|---|
FlowControlledBase(Http2Stream stream,
int padding,
boolean endOfStream,
ChannelPromise promise) |
| Modifier and Type | Method and Description |
|---|---|
void |
operationComplete(ChannelFuture future)
Invoked when the operation associated with the
Future has been completed. |
void |
writeComplete()
Called after this object has been successfully written.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waiterror, merge, size, writeprotected final Http2Stream stream
protected ChannelPromise promise
protected boolean endOfStream
protected int padding
FlowControlledBase(Http2Stream stream, int padding, boolean endOfStream, ChannelPromise promise)
public void writeComplete()
Http2RemoteFlowController.FlowControlled
The Http2RemoteFlowController will make exactly one call to either
this method or Http2RemoteFlowController.FlowControlled.error(ChannelHandlerContext, Throwable).
writeComplete in interface Http2RemoteFlowController.FlowControlledpublic void operationComplete(ChannelFuture future) throws java.lang.Exception
GenericFutureListenerFuture has been completed.operationComplete in interface GenericFutureListener<ChannelFuture>future - the source Future which called this callbackjava.lang.Exception