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
private abstract class HttpOutput.ChannelWriteCB extends IteratingCallback
-
-
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
Fields Modifier and Type Field Description (package private) boolean
_last
-
Fields inherited from interface org.eclipse.jetty.util.thread.Invocable
__nonBlocking
-
-
Constructor Summary
Constructors Constructor Description ChannelWriteCB(boolean last)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Invocable.InvocationType
getInvocationType()
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.
-
-
-
Method Detail
-
getInvocationType
public Invocable.InvocationType 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:
IteratingCallback.onCompleteFailure(Throwable)
-
onCompleteFailure
public void onCompleteFailure(java.lang.Throwable e)
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:
IteratingCallback.onCompleteSuccess()
-
-