Contents
Class AbstractHttpTransport.Writer
java.lang.Object
org.eclipse.jetty.util.IteratingCallback
org.cometd.server.http.AbstractHttpTransport.Writer
- All Implemented Interfaces:
Promise<Void>
,org.eclipse.jetty.util.Callback
,org.eclipse.jetty.util.thread.Invocable
- Enclosing class:
AbstractHttpTransport
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jetty.util.IteratingCallback
org.eclipse.jetty.util.IteratingCallback.Action
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.Callback
org.eclipse.jetty.util.Callback.Completable, org.eclipse.jetty.util.Callback.Completing, org.eclipse.jetty.util.Callback.Nested
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.thread.Invocable
org.eclipse.jetty.util.thread.Invocable.Callable, org.eclipse.jetty.util.thread.Invocable.InvocationType, org.eclipse.jetty.util.thread.Invocable.ReadyTask, org.eclipse.jetty.util.thread.Invocable.Task
Nested classes/interfaces inherited from interface org.cometd.bayeux.Promise
Promise.Completable<S>, Promise.Wrapper<W>
-
Field Summary
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Writer
(TransportContext context, List<ServerMessage> messages) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Callback to invoke when the operation fails.protected void
onCompleteFailure
(Throwable failure) protected void
protected org.eclipse.jetty.util.IteratingCallback.Action
process()
void
Callback to invoke when the operation succeeds.Methods inherited from class org.eclipse.jetty.util.IteratingCallback
abort, close, failed, isAborted, isClosed, isFailed, isSucceeded, iterate, onSuccess, reset, succeeded, toString