Package org.eclipse.jetty.server
Class HttpOutput.NestedChannelWriteCB
java.lang.Object
org.eclipse.jetty.util.IteratingCallback
org.eclipse.jetty.server.HttpOutput.ChannelWriteCB
org.eclipse.jetty.server.HttpOutput.NestedChannelWriteCB
- Direct Known Subclasses:
HttpOutput.InputStreamWritingCB
,HttpOutput.ReadableByteChannelWritingCB
- Enclosing class:
HttpOutput
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jetty.util.IteratingCallback
IteratingCallback.Action
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.Callback
Callback.Completable, Callback.Completing, Callback.InvocableCallback, Callback.Nested
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.thread.Invocable
Invocable.InvocationType
-
Field Summary
FieldsFields inherited from class org.eclipse.jetty.server.HttpOutput.ChannelWriteCB
_last
Fields inherited from interface org.eclipse.jetty.util.thread.Invocable
__nonBlocking
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Invoked when the overall task has completed with a failure.protected void
Invoked when the overall task has completed successfully.Methods inherited from class org.eclipse.jetty.server.HttpOutput.ChannelWriteCB
getInvocationType
-
Field Details
-
_callback
-
-
Constructor Details
-
NestedChannelWriteCB
NestedChannelWriteCB(Callback callback, boolean last)
-
-
Method Details
-
onCompleteSuccess
protected void onCompleteSuccess()Description copied from class:IteratingCallback
Invoked when the overall task has completed successfully.- Overrides:
onCompleteSuccess
in classHttpOutput.ChannelWriteCB
- See Also:
-
onCompleteFailure
Description copied from class:IteratingCallback
Invoked when the overall task has completed with a failure.- Overrides:
onCompleteFailure
in classHttpOutput.ChannelWriteCB
- Parameters:
e
- the throwable to indicate cause of failure- See Also:
-