private abstract class HttpOutput.NestedChannelWriteCB extends HttpOutput.ChannelWriteCB
IteratingCallback.Action
Callback.Completable, Callback.Completing, Callback.InvocableCallback, Callback.Nested
Invocable.InvocationType
Modifier and Type | Field and Description |
---|---|
(package private) Callback |
_callback |
_last
__nonBlocking
Constructor and Description |
---|
NestedChannelWriteCB(Callback callback,
boolean last) |
Modifier and Type | Method and Description |
---|---|
void |
onCompleteFailure(java.lang.Throwable e)
Invoked when the overall task has completed with a failure.
|
protected void |
onCompleteSuccess()
Invoked when the overall task has completed successfully.
|
getInvocationType
close, failed, isClosed, isFailed, isSucceeded, iterate, process, reset, succeeded, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
combine, from, from, from, from, from, from
combine, getInvocationType, invokeNonBlocking, isNonBlockingInvocation
final Callback _callback
NestedChannelWriteCB(Callback callback, boolean last)
protected void onCompleteSuccess()
IteratingCallback
onCompleteSuccess
in class HttpOutput.ChannelWriteCB
IteratingCallback.onCompleteFailure(Throwable)
public void onCompleteFailure(java.lang.Throwable e)
IteratingCallback
onCompleteFailure
in class HttpOutput.ChannelWriteCB
e
- the throwable to indicate cause of failureIteratingCallback.onCompleteSuccess()