Package org.eclipse.jetty.server
Class HttpOutput.ChannelWriteCB
java.lang.Object
org.eclipse.jetty.util.IteratingCallback
org.eclipse.jetty.server.HttpOutput.ChannelWriteCB
- Direct Known Subclasses:
HttpOutput.AsyncFlush
,HttpOutput.AsyncWrite
,HttpOutput.NestedChannelWriteCB
- 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 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.
-
Field Details
-
_last
final boolean _last
-
-
Constructor Details
-
ChannelWriteCB
ChannelWriteCB(boolean last)
-
-
Method Details
-
getInvocationType
- Returns:
- The InvocationType of this object
-
onCompleteSuccess
protected void onCompleteSuccess()Description copied from class:IteratingCallback
Invoked when the overall task has completed successfully.- Overrides:
onCompleteSuccess
in classIteratingCallback
- See Also:
-
onCompleteFailure
Description copied from class:IteratingCallback
Invoked when the overall task has completed with a failure.- Overrides:
onCompleteFailure
in classIteratingCallback
- Parameters:
e
- the throwable to indicate cause of failure- See Also:
-