Class ResponseFuture
java.lang.Object
org.apache.pekko.http.javadsl.model.ResponseFuture
- All Implemented Interfaces:
RequestResponseAssociation,RequestResponseAssociation
An association for completing a future when the response arrives.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ResponseFutureapply(CompletableFuture<HttpResponse> promise) future()static AttributeKey<ResponseFuture>KEY()
-
Constructor Details
-
ResponseFuture
-
-
Method Details
-
KEY
-
apply
-
future
-