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.io Jetty IO : Core classes for Jetty IO subsystemorg.eclipse.jetty.io.ssl Jetty IO : Core SSL Supportorg.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 Classes -
-
Uses of Callback in org.eclipse.jetty.client
Classes in org.eclipse.jetty.client that implement Callback Modifier and Type Class Description classHttpContentHttpContentis a stateful, linear representation of the request content provided by aContentProviderthat can be traversed one-way to obtain content buffers to send to an HTTP server.classHttpDestinationprivate classHttpSender.CommitCallbackprivate classHttpSender.ContentCallbackprivate classHttpSender.LastCallbackclassMultiplexHttpDestinationclassPoolingHttpDestinationprotected static classProxyProtocolClientConnectionFactory.ProxyProtocolConnectionprivate static classProxyProtocolClientConnectionFactory.ProxyProtocolConnectionV1private static classProxyProtocolClientConnectionFactory.ProxyProtocolConnectionV2private static classSocks4Proxy.Socks4ProxyConnectionFields in org.eclipse.jetty.client declared as Callback Modifier and Type Field Description private CallbackHttpReceiver.Decoder. callbackprivate CallbackHttpSender. commitCallbackprivate CallbackHttpSender. lastCallbackprivate CallbackAbstractConnectionPool. requesterMethods in org.eclipse.jetty.client with parameters of type Callback Modifier and Type Method Description private booleanHttpReceiver.Decoder. decode(java.nio.ByteBuffer encoded, Callback callback)private booleanHttpReceiver. decodeResponseContent(java.nio.ByteBuffer buffer, Callback callback)private voidHttpReceiver.ContentListeners. notifyContent(HttpResponse response, java.nio.ByteBuffer buffer, Callback callback)private voidResponseNotifier. notifyContent(Response.DemandedContentListener listener, Response response, java.util.function.LongConsumer demand, java.nio.ByteBuffer buffer, Callback callback)voidResponseNotifier. notifyContent(Response response, java.util.function.ObjLongConsumer<java.lang.Object> demand, java.nio.ByteBuffer buffer, Callback callback, java.util.List<Response.DemandedContentListener> contentListeners)private booleanHttpReceiver. plainResponseContent(HttpExchange exchange, java.nio.ByteBuffer buffer, Callback callback)protected booleanHttpReceiver. responseContent(HttpExchange exchange, java.nio.ByteBuffer buffer, Callback callback)Method to be invoked when response HTTP content is available.protected abstract voidHttpSender. sendContent(HttpExchange exchange, HttpContent content, Callback callback)Implementations should send the content at theHttpContentcursor position over the wire.protected abstract voidHttpSender. 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 givencallbackof the result of this operation.protected abstract voidProxyProtocolClientConnectionFactory.ProxyProtocolConnection. writePROXYBytes(EndPoint endPoint, Callback callback)protected voidProxyProtocolClientConnectionFactory.ProxyProtocolConnectionV1. writePROXYBytes(EndPoint endPoint, Callback callback)protected voidProxyProtocolClientConnectionFactory.ProxyProtocolConnectionV2. 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 voidResponse.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 voidResponse.AsyncContentListener. onContent(Response response, java.util.function.LongConsumer demand, java.nio.ByteBuffer content, Callback callback)default voidResponse.ContentListener. onContent(Response response, java.nio.ByteBuffer content, Callback callback)voidResponse.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 classHttpDestinationOverHTTPprivate classHttpSenderOverHTTP.ByteBufferRecyclerCallbackprivate classHttpSenderOverHTTP.HeadersCallbackFields in org.eclipse.jetty.client.http declared as Callback Modifier and Type Field Description private CallbackHttpSenderOverHTTP.HeadersCallback. callbackMethods in org.eclipse.jetty.client.http with parameters of type Callback Modifier and Type Method Description protected voidHttpSenderOverHTTP. sendContent(HttpExchange exchange, HttpContent content, Callback callback)protected voidHttpSenderOverHTTP. sendHeaders(HttpExchange exchange, HttpContent content, Callback callback)Constructors in org.eclipse.jetty.client.http with parameters of type Callback Constructor Description ByteBufferRecyclerCallback(Callback callback, ByteBufferPool pool, java.nio.ByteBuffer... buffers)HeadersCallback(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 classDeferredContentProviderAContentProviderthat allows to add content afterRequest.send(Response.CompleteListener)has been called, therefore providing the request content at a later time.private classDeferredContentProvider.DeferredContentProviderIteratorclassInputStreamContentProviderAContentProviderfor anInputStream.private classMultiPartContentProvider.MultiPartIteratorclassOutputStreamContentProviderAContentProviderthat provides content asynchronously through anOutputStreamsimilar toDeferredContentProvider.Fields in org.eclipse.jetty.client.util declared as Callback Modifier and Type Field Description CallbackDeferredContentProvider.Chunk. callbackMethods in org.eclipse.jetty.client.util that return types with arguments of type Callback Modifier and Type Method Description private java.util.List<Callback>InputStreamResponseListener. drain()Methods in org.eclipse.jetty.client.util with parameters of type Callback Modifier and Type Method Description booleanDeferredContentProvider. offer(java.nio.ByteBuffer buffer, Callback callback)voidInputStreamResponseListener. 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 classHttpDestinationOverFCGIclassMultiplexHttpDestinationOverFCGIMethods in org.eclipse.jetty.fcgi.client.http with parameters of type Callback Modifier and Type Method Description protected booleanHttpChannelOverFCGI. content(java.nio.ByteBuffer buffer, Callback callback)protected booleanHttpReceiverOverFCGI. responseContent(HttpExchange exchange, java.nio.ByteBuffer buffer, Callback callback)protected voidHttpSenderOverFCGI. sendContent(HttpExchange exchange, HttpContent content, Callback callback)protected voidHttpSenderOverFCGI. 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 private classFlusher.FlushCallbackprivate classFlusher.ShutdownResultstatic classGenerator.ResultFields in org.eclipse.jetty.fcgi.generator with type parameters of type Callback Modifier and Type Field Description private java.util.List<Callback>Generator.Result. callbacksMethods in org.eclipse.jetty.fcgi.generator with parameters of type Callback Modifier and Type Method Description protected Generator.ResultGenerator. generateContent(int id, java.nio.ByteBuffer content, boolean recycle, boolean lastContent, Callback callback, FCGI.FrameType frameType)Generator.ResultClientGenerator. generateRequestContent(int request, java.nio.ByteBuffer content, boolean lastContent, Callback callback)Generator.ResultClientGenerator. generateRequestHeaders(int request, HttpFields fields, Callback callback)Generator.ResultServerGenerator. generateResponseContent(int request, java.nio.ByteBuffer content, boolean lastContent, boolean aborted, Callback callback)Generator.ResultServerGenerator. 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 private voidHttpTransportOverFCGI. commit(MetaData.Response info, boolean head, java.nio.ByteBuffer content, boolean lastContent, Callback callback)protected Generator.ResultHttpTransportOverFCGI. generateResponseContent(java.nio.ByteBuffer buffer, boolean lastContent, Callback callback)protected Generator.ResultHttpTransportOverFCGI. generateResponseHeaders(MetaData.Response info, Callback callback)voidHttpTransportOverFCGI. send(MetaData.Response info, boolean head, java.nio.ByteBuffer content, boolean lastContent, Callback callback) -
Uses of Callback in org.eclipse.jetty.io
Classes in org.eclipse.jetty.io that implement Callback Modifier and Type Class Description private classAbstractConnection.ReadCallbackFields in org.eclipse.jetty.io declared as Callback Modifier and Type Field Description private CallbackWriteFlusher.PendingState. _callbackprivate CallbackAbstractConnection. _readCallbackFields in org.eclipse.jetty.io with type parameters of type Callback Modifier and Type Field Description private java.util.concurrent.atomic.AtomicReference<Callback>FillInterest. _interestedMethods in org.eclipse.jetty.io with parameters of type Callback Modifier and Type Method Description private voidWriteFlusher. fail(Callback callback, java.lang.Throwable... suppressed)protected voidAbstractConnection. failedCallback(Callback callback, java.lang.Throwable x)voidAbstractEndPoint. fillInterested(Callback callback)voidEndPoint. fillInterested(Callback callback)Requests callback methods to be invoked when a call toEndPoint.fill(ByteBuffer)would return data or EOF.voidFillInterest. register(Callback callback)Call to register interest in a callback when a read is possible.voidAbstractConnection. tryFillInterested(Callback callback)booleanAbstractEndPoint. tryFillInterested(Callback callback)booleanEndPoint. tryFillInterested(Callback callback)Requests callback methods to be invoked when a call toEndPoint.fill(ByteBuffer)would return data or EOF.booleanFillInterest. tryRegister(Callback callback)Call to register interest in a callback when a read is possible.voidAbstractEndPoint. write(Callback callback, java.nio.ByteBuffer... buffers)voidEndPoint. 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.voidWriteFlusher. write(Callback callback, java.nio.ByteBuffer... buffers)Tries to switch state to WRITING.Constructors in org.eclipse.jetty.io with parameters of type Callback Constructor Description PendingState(java.nio.ByteBuffer[] buffers, Callback callback) -
Uses of Callback in org.eclipse.jetty.io.ssl
Classes in org.eclipse.jetty.io.ssl that implement Callback Modifier and Type Class Description private classSslConnection.DecryptedEndPoint.IncompleteWriteCallbackFields in org.eclipse.jetty.io.ssl declared as Callback Modifier and Type Field Description private CallbackSslConnection.DecryptedEndPoint. _incompleteWriteCallbackprivate CallbackSslConnection. _sslReadCallback -
Uses of Callback in org.eclipse.jetty.proxy
Classes in org.eclipse.jetty.proxy that implement Callback Modifier and Type Class Description private classAsyncMiddleManServlet.ProxyDeferredContentProviderprotected classAsyncMiddleManServlet.ProxyReaderprotected classAsyncMiddleManServlet.ProxyResponseListenerprotected classAsyncProxyServlet.StreamReaderprivate classProxyConnection.ProxyIteratingCallbackprivate classProxyServlet.DelegatingContentProviderprotected classProxyServlet.ProxyInputStreamContentProviderFields in org.eclipse.jetty.proxy declared as Callback Modifier and Type Field Description private CallbackAsyncProxyServlet.StreamWriter. callbackprivate CallbackAsyncMiddleManServlet.ProxyResponseListener. completeMethods in org.eclipse.jetty.proxy with parameters of type Callback Modifier and Type Method Description protected voidAsyncProxyServlet.StreamWriter. data(byte[] bytes, int offset, int length, Callback callback)booleanAsyncMiddleManServlet.ProxyDeferredContentProvider. offer(java.nio.ByteBuffer buffer, Callback callback)booleanAsyncMiddleManServlet.ProxyWriter. offer(java.nio.ByteBuffer content, Callback callback)voidAsyncMiddleManServlet.ProxyResponseListener. onContent(Response serverResponse, java.nio.ByteBuffer content, Callback callback)voidProxyServlet.ProxyResponseListener. onContent(Response proxyResponse, java.nio.ByteBuffer content, Callback callback)protected voidAsyncProxyServlet.StreamReader. onRequestContent(javax.servlet.http.HttpServletRequest request, Request proxyRequest, DeferredContentProvider provider, byte[] buffer, int offset, int length, Callback callback)protected voidAsyncProxyServlet. onResponseContent(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Response proxyResponse, byte[] buffer, int offset, int length, Callback callback)protected voidProxyServlet. onResponseContent(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Response proxyResponse, byte[] buffer, int offset, int length, Callback callback)private voidAsyncMiddleManServlet.ProxyReader. process(java.nio.ByteBuffer content, Callback callback, boolean finished)private booleanAsyncMiddleManServlet.ProxyWriter. succeed(Callback callback)protected voidConnectHandler.DownstreamConnection. write(EndPoint endPoint, java.nio.ByteBuffer buffer, Callback callback)protected voidConnectHandler.UpstreamConnection. write(EndPoint endPoint, java.nio.ByteBuffer buffer, Callback callback)protected voidConnectHandler. 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 voidProxyConnection. 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 private classHttpChannel.Send100Callbackprivate classHttpChannel.SendCallbackprivate classHttpConnection.AsyncReadCallbackprivate classHttpConnection.BlockingReadCallbackprivate classHttpConnection.Contentprivate classHttpConnection.SendCallbackstatic classHttpInput.Contentstatic classHttpInput.EofContentstatic classHttpInput.SentinelContentA Sentinel Content, which has zero length content but indicates some other event in the input stream (eg EOF)private classHttpOutput.AsyncFlushprivate classHttpOutput.AsyncWriteprivate classHttpOutput.ChannelWriteCBprivate classHttpOutput.InputStreamWritingCBAn iterating callback that will take content from an InputStream and write it to the associatedHttpChannel.private classHttpOutput.NestedChannelWriteCBprivate classHttpOutput.ReadableByteChannelWritingCBAn iterating callback that will take content from a ReadableByteChannel and write it to theHttpChannel.private classHttpOutput.WriteCompleteCBFields in org.eclipse.jetty.server declared as Callback Modifier and Type Field Description private CallbackHttpConnection.SendCallback. _callbackprivate CallbackHttpOutput.NestedChannelWriteCB. _callbackprivate CallbackHttpOutput. _closedCallbackMethods in org.eclipse.jetty.server that return Callback Modifier and Type Method Description private CallbackHttpConnection.SendCallback. release()Methods in org.eclipse.jetty.server with parameters of type Callback Modifier and Type Method Description private voidHttpOutput. channelWrite(java.nio.ByteBuffer content, boolean last, Callback callback)voidHttpOutput. complete(Callback callback)voidHttpWriter. complete(Callback callback)voidResponseWriter. complete(Callback callback)voidResponse. completeOutput(Callback callback)voidProxyConnectionFactory.ProxyEndPoint. fillInterested(Callback callback)private booleanHttpOutput. prepareSendContent(int len, Callback callback)private booleanHttpConnection.SendCallback. reset(MetaData.Response info, boolean head, java.nio.ByteBuffer content, boolean last, Callback callback)voidHttpConnection. send(MetaData.Response info, boolean head, java.nio.ByteBuffer content, boolean lastContent, Callback callback)voidHttpTransport. send(MetaData.Response info, boolean head, java.nio.ByteBuffer content, boolean lastContent, Callback callback)Asynchronous call to send a response (or part) over the transportvoidHttpOutput. sendContent(java.io.InputStream in, Callback callback)Asynchronous send of stream content.voidHttpOutput. sendContent(java.nio.ByteBuffer content, Callback callback)Asynchronous send of whole content.voidHttpOutput. sendContent(java.nio.channels.ReadableByteChannel in, Callback callback)Asynchronous send of channel content.voidHttpOutput. sendContent(HttpContent httpContent, Callback callback)Asynchronous send of HTTP content.booleanHttpChannel. sendResponse(MetaData.Response info, java.nio.ByteBuffer content, boolean complete, Callback callback)booleanProxyConnectionFactory.ProxyEndPoint. tryFillInterested(Callback callback)voidHttpChannel. write(java.nio.ByteBuffer content, boolean complete, Callback callback)Non-Blocking write, committing the response if needed.voidHttpOutput.Interceptor. write(java.nio.ByteBuffer content, boolean last, Callback callback)Write content.voidProxyConnectionFactory.ProxyEndPoint. write(Callback callback, java.nio.ByteBuffer... buffers)Constructors in org.eclipse.jetty.server with parameters of type Callback Constructor Description InputStreamWritingCB(java.io.InputStream in, Callback callback)NestedChannelWriteCB(Callback callback, boolean last)ReadableByteChannelWritingCB(java.nio.channels.ReadableByteChannel in, Callback callback)Send100Callback(Callback callback)SendCallback(Callback callback, java.nio.ByteBuffer content, boolean commit, boolean complete) -
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 private voidBufferedResponseHandler.ArrayBufferedInterceptor. commit(Callback callback)private voidFileBufferedResponseHandler.FileBufferedInterceptor. commit(Callback callback)voidContextHandlerCollection. deployHandler(Handler handler, Callback callback)Thread safe deploy of a Handler.voidContextHandlerCollection. undeployHandler(Handler handler, Callback callback)Thread safe undeploy of a Handler.voidBufferedResponseHandler.ArrayBufferedInterceptor. write(java.nio.ByteBuffer content, boolean last, Callback callback)voidFileBufferedResponseHandler.FileBufferedInterceptor. write(java.nio.ByteBuffer content, boolean last, Callback callback)voidSizeLimitHandler.LimitInterceptor. write(java.nio.ByteBuffer content, boolean last, Callback callback) -
Uses of Callback in org.eclipse.jetty.server.handler.gzip
Classes in org.eclipse.jetty.server.handler.gzip that implement Callback Modifier and Type Class Description private classGzipHttpOutputInterceptor.GzipBufferCBMethods in org.eclipse.jetty.server.handler.gzip with parameters of type Callback Modifier and Type Method Description protected voidGzipHttpOutputInterceptor. commit(java.nio.ByteBuffer content, boolean complete, Callback callback)private voidGzipHttpOutputInterceptor. gzip(java.nio.ByteBuffer content, boolean complete, Callback callback)voidGzipHttpOutputInterceptor. write(java.nio.ByteBuffer content, boolean complete, Callback callback)Constructors in org.eclipse.jetty.server.handler.gzip with parameters of type Callback Constructor Description GzipBufferCB(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 classCallback.CompletableA CompletableFuture that is also a Callback.static classCallback.Completingstatic classCallback.NestedNested Completing Callback that completes after completing the nested callbackclassCompletableCallbackDeprecated.not used anymoreclassCountingCallbackA callback wrapper that succeeds the wrapped callback when the count is reached, or on first failure.classFutureCallbackclassIteratingCallbackThis specialized callback implements a pattern that allows a large asynchronous task to be broken into smaller asynchronous sub-tasks using iteration rather than recursion.classIteratingNestedCallbackIterating Nested Callback.classSharedBlockingCallback.BlockerA Closeable Callback.Fields in org.eclipse.jetty.util declared as Callback Modifier and Type Field Description (package private) CallbackIteratingNestedCallback. _callbackprivate CallbackCallback.Nested. callbackstatic CallbackCallback. NOOPInstance 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 CallbackCallback. combine(Callback cb1, Callback cb2)static CallbackCallback. from(java.lang.Runnable completed)Creaste a callback that runs completed when it succeeds or failsstatic CallbackCallback. from(java.lang.Runnable success, java.util.function.Consumer<java.lang.Throwable> failure)Creates a callback from the given success and failure lambdas.static CallbackCallback. from(java.lang.Runnable completed, Callback callback)Create a nested callback that runs completed before completing the nested callback.static CallbackCallback. from(java.util.concurrent.CompletableFuture<?> completable)Creates a non-blocking callback from the given incomplete CompletableFuture.static CallbackCallback. from(java.util.concurrent.CompletableFuture<?> completable, Invocable.InvocationType invocation)Creates a callback from the given incomplete CompletableFuture, with the givenblockingcharacteristic.static CallbackCallback. from(Callback callback, java.lang.Runnable completed)Create a nested callback that runs completed after completing the nested callback.static CallbackCallback. 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.CallbackCallback.Nested. getCallback()Methods in org.eclipse.jetty.util with parameters of type Callback Modifier and Type Method Description static CallbackCallback. combine(Callback cb1, Callback cb2)static CallbackCallback. from(java.lang.Runnable completed, Callback callback)Create a nested callback that runs completed before completing the nested callback.static CallbackCallback. 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)
-