Uses of Interface
org.eclipse.jetty.util.Callback
-
Packages that use Callback Package Description org.eclipse.jetty.client Jetty Client : Implementation and Core Classes This package provides APIs, utility classes and an implementation of an asynchronous HTTP client.org.eclipse.jetty.client.api Jetty Client : API Classesorg.eclipse.jetty.client.http org.eclipse.jetty.client.util Jetty Client : Utility Classesorg.eclipse.jetty.fcgi.client.http org.eclipse.jetty.fcgi.generator org.eclipse.jetty.fcgi.server org.eclipse.jetty.http2 org.eclipse.jetty.http2.api org.eclipse.jetty.http2.client.http org.eclipse.jetty.http2.server org.eclipse.jetty.io Jetty IO : Core classes for Jetty IO subsystemorg.eclipse.jetty.proxy Jetty Proxy : Async Proxy Supportorg.eclipse.jetty.server Jetty Server : Core Server APIorg.eclipse.jetty.server.handler Jetty Server : Core Handler APIorg.eclipse.jetty.server.handler.gzip Jetty GZIP Handlerorg.eclipse.jetty.util Jetty Util : Common Utility Classesorg.eclipse.jetty.websocket.common Jetty WebSocket Common : Implementation [Internal Use Only]org.eclipse.jetty.websocket.common.io Jetty WebSocket Common : I/O Implementation -
-
Uses of Callback in org.eclipse.jetty.client
Classes in org.eclipse.jetty.client that implement Callback Modifier and Type Class Description class
HttpContent
HttpContent
is a stateful, linear representation of the request content provided by aContentProvider
that can be traversed one-way to obtain content buffers to send to an HTTP server.class
HttpDestination
class
MultiplexHttpDestination
class
PoolingHttpDestination
protected static class
ProxyProtocolClientConnectionFactory.ProxyProtocolConnection
Methods in org.eclipse.jetty.client with parameters of type Callback Modifier and Type Method Description void
ResponseNotifier. notifyContent(Response response, java.util.function.ObjLongConsumer<java.lang.Object> demand, java.nio.ByteBuffer buffer, Callback callback, java.util.List<Response.DemandedContentListener> contentListeners)
protected boolean
HttpReceiver. responseContent(HttpExchange exchange, java.nio.ByteBuffer buffer, Callback callback)
Method to be invoked when response HTTP content is available.protected abstract void
HttpSender. sendContent(HttpExchange exchange, HttpContent content, Callback callback)
Implementations should send the content at theHttpContent
cursor position over the wire.protected abstract void
HttpSender. sendHeaders(HttpExchange exchange, HttpContent content, Callback callback)
Implementations should send the HTTP headers over the wire, possibly with some content, in a single write, and notify the givencallback
of the result of this operation.protected abstract void
ProxyProtocolClientConnectionFactory.ProxyProtocolConnection. writePROXYBytes(EndPoint endPoint, Callback callback)
Constructors in org.eclipse.jetty.client with parameters of type Callback Constructor Description AbstractConnectionPool(Destination destination, int maxConnections, Callback requester)
Deprecated.AbstractConnectionPool(HttpDestination destination, int maxConnections, boolean cache, Callback requester)
AbstractConnectionPool(HttpDestination destination, Pool.StrategyType strategy, int maxConnections, boolean cache, Callback requester)
AbstractConnectionPool(HttpDestination destination, Pool<Connection> pool, Callback requester)
DuplexConnectionPool(HttpDestination destination, int maxConnections, boolean cache, Callback requester)
DuplexConnectionPool(HttpDestination destination, int maxConnections, Callback requester)
DuplexConnectionPool(HttpDestination destination, Pool<Connection> pool, Callback requester)
Deprecated.LeakTrackingConnectionPool(Destination destination, int maxConnections, Callback requester)
MultiplexConnectionPool(HttpDestination destination, int maxConnections, boolean cache, Callback requester, int maxMultiplex)
MultiplexConnectionPool(HttpDestination destination, int maxConnections, Callback requester, int maxMultiplex)
MultiplexConnectionPool(HttpDestination destination, Pool.StrategyType strategy, int maxConnections, boolean cache, Callback requester, int maxMultiplex)
MultiplexConnectionPool(HttpDestination destination, Pool<Connection> pool, Callback requester, int maxMultiplex)
Deprecated.RandomConnectionPool(HttpDestination destination, int maxConnections, Callback requester, int maxMultiplex)
RoundRobinConnectionPool(HttpDestination destination, int maxConnections, Callback requester)
RoundRobinConnectionPool(HttpDestination destination, int maxConnections, Callback requester, int maxMultiplex)
ValidatingConnectionPool(Destination destination, int maxConnections, Callback requester, Scheduler scheduler, long timeout)
-
Uses of Callback in org.eclipse.jetty.client.api
Methods in org.eclipse.jetty.client.api with parameters of type Callback Modifier and Type Method Description void
Response.AsyncContentListener. onContent(Response response, java.nio.ByteBuffer content, Callback callback)
Callback method invoked when the response content has been received, parsed and there is demand.default void
Response.AsyncContentListener. onContent(Response response, java.util.function.LongConsumer demand, java.nio.ByteBuffer content, Callback callback)
default void
Response.ContentListener. onContent(Response response, java.nio.ByteBuffer content, Callback callback)
void
Response.DemandedContentListener. onContent(Response response, java.util.function.LongConsumer demand, java.nio.ByteBuffer content, Callback callback)
Callback method invoked when the response content has been received. -
Uses of Callback in org.eclipse.jetty.client.http
Classes in org.eclipse.jetty.client.http that implement Callback Modifier and Type Class Description class
HttpDestinationOverHTTP
Methods in org.eclipse.jetty.client.http with parameters of type Callback Modifier and Type Method Description protected void
HttpSenderOverHTTP. sendContent(HttpExchange exchange, HttpContent content, Callback callback)
protected void
HttpSenderOverHTTP. sendHeaders(HttpExchange exchange, HttpContent content, Callback callback)
-
Uses of Callback in org.eclipse.jetty.client.util
Classes in org.eclipse.jetty.client.util that implement Callback Modifier and Type Class Description class
DeferredContentProvider
AContentProvider
that allows to add content afterRequest.send(Response.CompleteListener)
has been called, therefore providing the request content at a later time.class
InputStreamContentProvider
AContentProvider
for anInputStream
.class
OutputStreamContentProvider
AContentProvider
that provides content asynchronously through anOutputStream
similar toDeferredContentProvider
.Fields in org.eclipse.jetty.client.util declared as Callback Modifier and Type Field Description Callback
DeferredContentProvider.Chunk. callback
Methods in org.eclipse.jetty.client.util with parameters of type Callback Modifier and Type Method Description boolean
DeferredContentProvider. offer(java.nio.ByteBuffer buffer, Callback callback)
void
InputStreamResponseListener. onContent(Response response, java.nio.ByteBuffer content, Callback callback)
Constructors in org.eclipse.jetty.client.util with parameters of type Callback Constructor Description Chunk(java.nio.ByteBuffer buffer, Callback callback)
-
Uses of Callback in org.eclipse.jetty.fcgi.client.http
Classes in org.eclipse.jetty.fcgi.client.http that implement Callback Modifier and Type Class Description class
HttpDestinationOverFCGI
class
MultiplexHttpDestinationOverFCGI
Methods in org.eclipse.jetty.fcgi.client.http with parameters of type Callback Modifier and Type Method Description protected boolean
HttpChannelOverFCGI. content(java.nio.ByteBuffer buffer, Callback callback)
protected boolean
HttpReceiverOverFCGI. responseContent(HttpExchange exchange, java.nio.ByteBuffer buffer, Callback callback)
protected void
HttpSenderOverFCGI. sendContent(HttpExchange exchange, HttpContent content, Callback callback)
protected void
HttpSenderOverFCGI. sendHeaders(HttpExchange exchange, HttpContent content, Callback callback)
-
Uses of Callback in org.eclipse.jetty.fcgi.generator
Classes in org.eclipse.jetty.fcgi.generator that implement Callback Modifier and Type Class Description static class
Generator.Result
Methods in org.eclipse.jetty.fcgi.generator with parameters of type Callback Modifier and Type Method Description protected Generator.Result
Generator. generateContent(int id, java.nio.ByteBuffer content, boolean recycle, boolean lastContent, Callback callback, FCGI.FrameType frameType)
Generator.Result
ClientGenerator. generateRequestContent(int request, java.nio.ByteBuffer content, boolean lastContent, Callback callback)
Generator.Result
ClientGenerator. generateRequestHeaders(int request, HttpFields fields, Callback callback)
Generator.Result
ServerGenerator. generateResponseContent(int request, java.nio.ByteBuffer content, boolean lastContent, boolean aborted, Callback callback)
Generator.Result
ServerGenerator. generateResponseHeaders(int request, int code, java.lang.String reason, HttpFields fields, Callback callback)
Constructors in org.eclipse.jetty.fcgi.generator with parameters of type Callback Constructor Description Result(ByteBufferPool byteBufferPool, Callback callback)
-
Uses of Callback in org.eclipse.jetty.fcgi.server
Methods in org.eclipse.jetty.fcgi.server with parameters of type Callback Modifier and Type Method Description protected Generator.Result
HttpTransportOverFCGI. generateResponseContent(java.nio.ByteBuffer buffer, boolean lastContent, Callback callback)
protected Generator.Result
HttpTransportOverFCGI. generateResponseHeaders(MetaData.Response info, Callback callback)
void
HttpTransportOverFCGI. send(MetaData.Response info, boolean head, java.nio.ByteBuffer content, boolean lastContent, Callback callback)
-
Uses of Callback in org.eclipse.jetty.http2
Classes in org.eclipse.jetty.http2 that implement Callback Modifier and Type Class Description class
HTTP2Flusher
static class
HTTP2Flusher.Entry
class
HTTP2Stream
Methods in org.eclipse.jetty.http2 with parameters of type Callback Modifier and Type Method Description protected void
HTTP2Session. abort(java.lang.String reason, java.lang.Throwable failure, Callback callback)
boolean
HTTP2Session. close(int error, java.lang.String reason, Callback callback)
Invoked internally and by applications to send a GO_AWAY frame to the other peer.void
HTTP2Session. data(IStream stream, Callback callback, DataFrame frame)
void
HTTP2Stream. data(DataFrame frame, Callback callback)
void
ISession. data(IStream stream, Callback callback, DataFrame frame)
Enqueues the given DATA frame to be written to the connection.void
HTTP2Session. frames(IStream stream, java.util.List<? extends Frame> frames, Callback callback)
void
ISession. frames(IStream stream, java.util.List<? extends Frame> frames, Callback callback)
Enqueues the given frames to be written to the connection.boolean
HTTP2Session. goAway(GoAwayFrame frame, Callback callback)
void
HTTP2Stream. headers(HeadersFrame frame, Callback callback)
protected void
HTTP2Session. notifyClose(Session session, GoAwayFrame frame, Callback callback)
protected void
HTTP2Session. notifyFailure(Session session, java.lang.Throwable failure, Callback callback)
void
HTTP2Session. onData(DataFrame frame, Callback callback)
void
ISession. onData(DataFrame frame, Callback callback)
Callback method invoked when a DATA frame is received.void
HTTP2Session. ping(PingFrame frame, Callback callback)
int
HTTP2Session. priority(PriorityFrame frame, Callback callback)
void
HTTP2Stream. process(Frame frame, Callback callback)
void
IStream. process(Frame frame, Callback callback)
Processes the givenframe
, belonging to this stream.void
HTTP2Stream. reset(ResetFrame frame, Callback callback)
void
HTTP2Stream. send(IStream.FrameList frameList, Callback callback)
void
IStream. send(IStream.FrameList frameList, Callback callback)
Sends the given list of frames.void
HTTP2Session. settings(SettingsFrame frame, Callback callback)
Constructors in org.eclipse.jetty.http2 with parameters of type Callback Constructor Description Entry(Frame frame, IStream stream, Callback callback)
-
Uses of Callback in org.eclipse.jetty.http2.api
Methods in org.eclipse.jetty.http2.api with parameters of type Callback Modifier and Type Method Description boolean
Session. close(int error, java.lang.String payload, Callback callback)
Closes the session by sending a GOAWAY frame with the given error code and payload.void
Stream. data(DataFrame frame, Callback callback)
Sends the given DATAframe
.void
Stream. headers(HeadersFrame frame, Callback callback)
Sends the given HEADERSframe
.default void
Session.Listener. onClose(Session session, GoAwayFrame frame, Callback callback)
Callback method invoked when a GOAWAY frame caused the session to be closed.void
Stream.Listener.Adapter. onData(Stream stream, DataFrame frame, Callback callback)
void
Stream.Listener. onData(Stream stream, DataFrame frame, Callback callback)
Callback method invoked when a DATA frame has been received.default void
Session.Listener. onFailure(Session session, java.lang.Throwable failure, Callback callback)
Callback method invoked when a failure has been detected for this session.default void
Stream.Listener. onFailure(Stream stream, int error, java.lang.String reason, java.lang.Throwable failure, Callback callback)
Callback method invoked when the stream failed.default void
Stream.Listener. onFailure(Stream stream, int error, java.lang.String reason, Callback callback)
Deprecated.default void
Stream.Listener. onReset(Stream stream, ResetFrame frame, Callback callback)
Callback method invoked when a RST_STREAM frame has been received for this stream.void
Session. ping(PingFrame frame, Callback callback)
Sends the given PINGframe
.int
Session. priority(PriorityFrame frame, Callback callback)
Sends the given PRIORITYframe
.void
Stream. reset(ResetFrame frame, Callback callback)
Sends the given RST_STREAMframe
.void
Session. settings(SettingsFrame frame, Callback callback)
Sends the given SETTINGSframe
to configure the session. -
Uses of Callback in org.eclipse.jetty.http2.client.http
Classes in org.eclipse.jetty.http2.client.http that implement Callback Modifier and Type Class Description class
HttpDestinationOverHTTP2
Methods in org.eclipse.jetty.http2.client.http with parameters of type Callback Modifier and Type Method Description void
HttpReceiverOverHTTP2. onData(Stream stream, DataFrame frame, Callback callback)
void
HttpReceiverOverHTTP2. onFailure(Stream stream, int error, java.lang.String reason, java.lang.Throwable failure, Callback callback)
protected void
HttpSenderOverHTTP2. sendContent(HttpExchange exchange, HttpContent content, Callback callback)
protected void
HttpSenderOverHTTP2. sendHeaders(HttpExchange exchange, HttpContent content, Callback callback)
-
Uses of Callback in org.eclipse.jetty.http2.server
Methods in org.eclipse.jetty.http2.server with parameters of type Callback Modifier and Type Method Description void
HTTP2ServerConnectionFactory.HTTPServerSessionListener. onClose(Session session, GoAwayFrame frame, Callback callback)
void
HTTP2ServerConnection. onData(IStream stream, DataFrame frame, Callback callback)
void
HTTP2ServerConnectionFactory.HTTPServerSessionListener. onData(Stream stream, DataFrame frame, Callback callback)
void
HTTP2ServerConnectionFactory.HTTPServerSessionListener. onFailure(Session session, java.lang.Throwable failure, Callback callback)
void
HTTP2ServerConnectionFactory.HTTPServerSessionListener. onFailure(Stream stream, int error, java.lang.String reason, java.lang.Throwable failure, Callback callback)
java.lang.Runnable
HttpChannelOverHTTP2. onFailure(java.lang.Throwable failure, Callback callback)
java.lang.Runnable
HttpChannelOverHTTP2. onRequestContent(DataFrame frame, Callback callback)
void
HTTP2ServerConnectionFactory.HTTPServerSessionListener. onReset(Stream stream, ResetFrame frame, Callback callback)
void
HTTP2ServerConnection. onSessionFailure(java.lang.Throwable failure, Callback callback)
void
HTTP2ServerConnection. onStreamFailure(IStream stream, java.lang.Throwable failure, Callback callback)
void
HttpTransportOverHTTP2. send(MetaData.Response info, boolean isHeadRequest, java.nio.ByteBuffer content, boolean lastContent, Callback callback)
-
Uses of Callback in org.eclipse.jetty.io
Methods in org.eclipse.jetty.io with parameters of type Callback Modifier and Type Method Description protected void
AbstractConnection. failedCallback(Callback callback, java.lang.Throwable x)
void
AbstractEndPoint. fillInterested(Callback callback)
void
EndPoint. fillInterested(Callback callback)
Requests callback methods to be invoked when a call toEndPoint.fill(ByteBuffer)
would return data or EOF.void
FillInterest. register(Callback callback)
Call to register interest in a callback when a read is possible.void
AbstractConnection. tryFillInterested(Callback callback)
boolean
AbstractEndPoint. tryFillInterested(Callback callback)
boolean
EndPoint. tryFillInterested(Callback callback)
Requests callback methods to be invoked when a call toEndPoint.fill(ByteBuffer)
would return data or EOF.boolean
FillInterest. tryRegister(Callback callback)
Call to register interest in a callback when a read is possible.void
AbstractEndPoint. write(Callback callback, java.nio.ByteBuffer... buffers)
void
EndPoint. write(Callback callback, java.nio.ByteBuffer... buffers)
Writes the given buffers viaEndPoint.flush(ByteBuffer...)
and invokes callback methods when either all the data has been flushed or an error occurs.void
WriteFlusher. write(Callback callback, java.nio.ByteBuffer... buffers)
Tries to switch state to WRITING. -
Uses of Callback in org.eclipse.jetty.proxy
Classes in org.eclipse.jetty.proxy that implement Callback Modifier and Type Class Description protected class
AsyncMiddleManServlet.ProxyReader
protected class
AsyncMiddleManServlet.ProxyResponseListener
protected class
AsyncProxyServlet.StreamReader
protected class
ProxyServlet.ProxyInputStreamContentProvider
Methods in org.eclipse.jetty.proxy with parameters of type Callback Modifier and Type Method Description protected void
AsyncProxyServlet.StreamWriter. data(byte[] bytes, int offset, int length, Callback callback)
boolean
AsyncMiddleManServlet.ProxyWriter. offer(java.nio.ByteBuffer content, Callback callback)
void
AsyncMiddleManServlet.ProxyResponseListener. onContent(Response serverResponse, java.nio.ByteBuffer content, Callback callback)
void
ProxyServlet.ProxyResponseListener. onContent(Response proxyResponse, java.nio.ByteBuffer content, Callback callback)
protected void
AsyncProxyServlet.StreamReader. onRequestContent(javax.servlet.http.HttpServletRequest request, Request proxyRequest, DeferredContentProvider provider, byte[] buffer, int offset, int length, Callback callback)
protected void
AsyncProxyServlet. onResponseContent(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Response proxyResponse, byte[] buffer, int offset, int length, Callback callback)
protected void
ProxyServlet. onResponseContent(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Response proxyResponse, byte[] buffer, int offset, int length, Callback callback)
protected void
ConnectHandler.DownstreamConnection. write(EndPoint endPoint, java.nio.ByteBuffer buffer, Callback callback)
protected void
ConnectHandler.UpstreamConnection. write(EndPoint endPoint, java.nio.ByteBuffer buffer, Callback callback)
protected void
ConnectHandler. write(EndPoint endPoint, java.nio.ByteBuffer buffer, Callback callback, java.util.concurrent.ConcurrentMap<java.lang.String,java.lang.Object> context)
Writes (with non-blocking semantic) the given buffer of data onto the given endPoint.protected abstract void
ProxyConnection. write(EndPoint endPoint, java.nio.ByteBuffer buffer, Callback callback)
-
Uses of Callback in org.eclipse.jetty.server
Classes in org.eclipse.jetty.server that implement Callback Modifier and Type Class Description static class
HttpInput.Content
static class
HttpInput.EofContent
static class
HttpInput.SentinelContent
A Sentinel Content, which has zero length content but indicates some other event in the input stream (eg EOF)Methods in org.eclipse.jetty.server with parameters of type Callback Modifier and Type Method Description void
HttpOutput. complete(Callback callback)
void
HttpWriter. complete(Callback callback)
void
ResponseWriter. complete(Callback callback)
void
Response. completeOutput(Callback callback)
void
ProxyConnectionFactory.ProxyEndPoint. fillInterested(Callback callback)
void
HttpConnection. send(MetaData.Response info, boolean head, java.nio.ByteBuffer content, boolean lastContent, Callback callback)
void
HttpTransport. send(MetaData.Response info, boolean head, java.nio.ByteBuffer content, boolean lastContent, Callback callback)
Asynchronous call to send a response (or part) over the transportvoid
HttpOutput. sendContent(java.io.InputStream in, Callback callback)
Asynchronous send of stream content.void
HttpOutput. sendContent(java.nio.ByteBuffer content, Callback callback)
Asynchronous send of whole content.void
HttpOutput. sendContent(java.nio.channels.ReadableByteChannel in, Callback callback)
Asynchronous send of channel content.void
HttpOutput. sendContent(HttpContent httpContent, Callback callback)
Asynchronous send of HTTP content.boolean
HttpChannel. sendResponse(MetaData.Response info, java.nio.ByteBuffer content, boolean complete, Callback callback)
boolean
ProxyConnectionFactory.ProxyEndPoint. tryFillInterested(Callback callback)
void
HttpChannel. write(java.nio.ByteBuffer content, boolean complete, Callback callback)
Non-Blocking write, committing the response if needed.void
HttpOutput.Interceptor. write(java.nio.ByteBuffer content, boolean last, Callback callback)
Write content.void
ProxyConnectionFactory.ProxyEndPoint. write(Callback callback, java.nio.ByteBuffer... buffers)
-
Uses of Callback in org.eclipse.jetty.server.handler
Methods in org.eclipse.jetty.server.handler with parameters of type Callback Modifier and Type Method Description void
ContextHandlerCollection. deployHandler(Handler handler, Callback callback)
Thread safe deploy of a Handler.void
ContextHandlerCollection. undeployHandler(Handler handler, Callback callback)
Thread safe undeploy of a Handler. -
Uses of Callback in org.eclipse.jetty.server.handler.gzip
Methods in org.eclipse.jetty.server.handler.gzip with parameters of type Callback Modifier and Type Method Description protected void
GzipHttpOutputInterceptor. commit(java.nio.ByteBuffer content, boolean complete, Callback callback)
void
GzipHttpOutputInterceptor. write(java.nio.ByteBuffer content, boolean complete, Callback callback)
-
Uses of Callback in org.eclipse.jetty.util
Classes in org.eclipse.jetty.util that implement Callback Modifier and Type Class Description static class
Callback.Completable
A CompletableFuture that is also a Callback.static class
Callback.Completing
static class
Callback.Nested
Nested Completing Callback that completes after completing the nested callbackclass
CompletableCallback
Deprecated.not used anymoreclass
CountingCallback
A callback wrapper that succeeds the wrapped callback when the count is reached, or on first failure.class
FutureCallback
class
IteratingCallback
This specialized callback implements a pattern that allows a large asynchronous task to be broken into smaller asynchronous sub-tasks using iteration rather than recursion.class
IteratingNestedCallback
Iterating Nested Callback.class
SharedBlockingCallback.Blocker
A Closeable Callback.Fields in org.eclipse.jetty.util declared as Callback Modifier and Type Field Description static Callback
Callback. NOOP
Instance of Adapter that can be used when the callback methods need an empty implementation without incurring in the cost of allocating a new Adapter object.Methods in org.eclipse.jetty.util that return Callback Modifier and Type Method Description static Callback
Callback. combine(Callback cb1, Callback cb2)
static Callback
Callback. from(java.lang.Runnable completed)
Creaste a callback that runs completed when it succeeds or failsstatic Callback
Callback. from(java.lang.Runnable success, java.util.function.Consumer<java.lang.Throwable> failure)
Creates a callback from the given success and failure lambdas.static Callback
Callback. from(java.lang.Runnable completed, Callback callback)
Create a nested callback that runs completed before completing the nested callback.static Callback
Callback. from(java.util.concurrent.CompletableFuture<?> completable)
Creates a non-blocking callback from the given incomplete CompletableFuture.static Callback
Callback. from(java.util.concurrent.CompletableFuture<?> completable, Invocable.InvocationType invocation)
Creates a callback from the given incomplete CompletableFuture, with the givenblocking
characteristic.static Callback
Callback. from(Callback callback, java.lang.Runnable completed)
Create a nested callback that runs completed after completing the nested callback.static Callback
Callback. from(Invocable.InvocationType invocationType, java.lang.Runnable success, java.util.function.Consumer<java.lang.Throwable> failure)
Creates a callback with the given InvocationType from the given success and failure lambdas.Callback
Callback.Nested. getCallback()
Methods in org.eclipse.jetty.util with parameters of type Callback Modifier and Type Method Description static Callback
Callback. combine(Callback cb1, Callback cb2)
static Callback
Callback. from(java.lang.Runnable completed, Callback callback)
Create a nested callback that runs completed before completing the nested callback.static Callback
Callback. from(Callback callback, java.lang.Runnable completed)
Create a nested callback that runs completed after completing the nested callback.Constructors in org.eclipse.jetty.util with parameters of type Callback Constructor Description CountingCallback(Callback callback, int count)
IteratingNestedCallback(Callback callback)
Nested(Callback callback)
-
Uses of Callback in org.eclipse.jetty.websocket.common
Classes in org.eclipse.jetty.websocket.common that implement Callback Modifier and Type Class Description static class
BlockingWriteCallback.WriteBlocker
Methods in org.eclipse.jetty.websocket.common with parameters of type Callback Modifier and Type Method Description void
LogicalConnection. close(CloseInfo closeInfo, Callback callback)
Request a local close. -
Uses of Callback in org.eclipse.jetty.websocket.common.io
Classes in org.eclipse.jetty.websocket.common.io that implement Callback Modifier and Type Class Description class
DisconnectCallback
class
FrameFlusher
class
FutureWriteCallback
Allows events to aWriteCallback
to drive aFuture
for the user.Methods in org.eclipse.jetty.websocket.common.io with parameters of type Callback Modifier and Type Method Description void
AbstractWebSocketConnection. close(CloseInfo close, Callback callback)
-