public abstract class DefaultHttp2ConnectionEncoder.FlowControlledBase extends java.lang.Object implements Http2RemoteFlowController.FlowControlled, ChannelFutureListener
| 限定符和类型 | 字段和说明 |
|---|---|
protected boolean |
endOfStream |
protected int |
padding |
protected ChannelPromise |
promise |
protected Http2Stream |
stream |
CLOSE, CLOSE_ON_FAILURE, FIRE_EXCEPTION_ON_FAILURE| 限定符和类型 | 方法和说明 |
|---|---|
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
public void writeComplete()
Http2RemoteFlowController.FlowControlled
The Http2RemoteFlowController will make exactly one call to either
this method or Http2RemoteFlowController.FlowControlled.error(ChannelHandlerContext, Throwable).
public void operationComplete(ChannelFuture future) throws java.lang.Exception
GenericFutureListenerFuture has been completed.operationComplete 在接口中 GenericFutureListener<ChannelFuture>future - the source Future which called this callbackjava.lang.Exception