Package org.eclipse.jetty.server
Class HttpChannel.SendCallback
java.lang.Object
org.eclipse.jetty.util.Callback.Completing
org.eclipse.jetty.util.Callback.Nested
org.eclipse.jetty.server.HttpChannel.SendCallback
- Direct Known Subclasses:
HttpChannel.Send100Callback
- Enclosing class:
HttpChannel
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.Callback
Callback.Completable, Callback.Completing, Callback.InvocableCallback, Callback.NestedNested classes/interfaces inherited from interface org.eclipse.jetty.util.thread.Invocable
Invocable.InvocationType -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate final booleanprivate final ByteBufferprivate final intFields inherited from interface org.eclipse.jetty.util.thread.Invocable
__nonBlocking -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateSendCallback(Callback callback, ByteBuffer content, boolean commit, boolean complete) -
Method Summary
Methods inherited from class org.eclipse.jetty.util.Callback.Nested
getCallback, getInvocationTypeMethods inherited from class org.eclipse.jetty.util.Callback.Completing
completed
-
Field Details
-
_content
-
_length
private final int _length -
_commit
private final boolean _commit -
_complete
private final boolean _complete
-
-
Constructor Details
-
SendCallback
-
-
Method Details
-
succeeded
public void succeeded()Description copied from interface:CallbackCallback invoked when the operation completes.
- Specified by:
succeededin interfaceCallback- Overrides:
succeededin classCallback.Nested- See Also:
-
failed
Description copied from interface:CallbackCallback invoked when the operation fails.
- Specified by:
failedin interfaceCallback- Overrides:
failedin classCallback.Nested- Parameters:
x- the reason for the operation failure
-