public final class ResponseFuture extends java.lang.Object implements RequestResponseAssociation
Constructor and Description |
---|
ResponseFuture(java.util.concurrent.CompletableFuture<HttpResponse> future) |
Modifier and Type | Method and Description |
---|---|
static ResponseFuture |
apply(java.util.concurrent.CompletableFuture<HttpResponse> promise) |
java.util.concurrent.CompletableFuture<HttpResponse> |
future() |
static AttributeKey<ResponseFuture> |
KEY() |
public ResponseFuture(java.util.concurrent.CompletableFuture<HttpResponse> future)
public static AttributeKey<ResponseFuture> KEY()
public static ResponseFuture apply(java.util.concurrent.CompletableFuture<HttpResponse> promise)
public java.util.concurrent.CompletableFuture<HttpResponse> future()