Package org.eclipse.jetty.client
Class HttpSender.CommitCallback
- java.lang.Object
-
- org.eclipse.jetty.client.HttpSender.CommitCallback
-
- Enclosing class:
- HttpSender
private class HttpSender.CommitCallback extends java.lang.Object implements Callback
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.Callback
Callback.Completable, Callback.Completing, Callback.Nested
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.thread.Invocable
Invocable.InvocationType
-
-
Field Summary
-
Fields inherited from interface org.eclipse.jetty.util.thread.Invocable
__nonBlocking
-
-
Constructor Summary
Constructors Modifier Constructor Description private
CommitCallback()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
failed(java.lang.Throwable failure)
Callback invoked when the operation fails.private void
process()
void
succeeded()
Callback invoked when the operation completes.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.jetty.util.thread.Invocable
getInvocationType
-
-
-
-
Method Detail
-
succeeded
public void succeeded()
Description copied from interface:Callback
Callback invoked when the operation completes.
- Specified by:
succeeded
in interfaceCallback
- See Also:
Callback.failed(Throwable)
-
failed
public void failed(java.lang.Throwable failure)
Description copied from interface:Callback
Callback invoked when the operation fails.
-
process
private void process() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-