Class Callback.Completable

java.lang.Object
java.util.concurrent.CompletableFuture<Void>
org.eclipse.jetty.websocket.api.Callback.Completable
All Implemented Interfaces:
CompletionStage<Void>, Future<Void>, Callback
Enclosing interface:
Callback

public static class Callback.Completable extends CompletableFuture<Void> implements Callback

A Callback that is also a CompletableFuture.

Applications can pass an instance of this class as a Callback, but also use the CompletableFuture APIs.