Package akka.http.scaladsl.model
Class ResponsePromise
- java.lang.Object
-
- akka.http.scaladsl.model.ResponsePromise
-
- All Implemented Interfaces:
RequestResponseAssociation
,RequestResponseAssociation
public final class ResponsePromise extends java.lang.Object implements RequestResponseAssociation
An association for completing a future when the response arrives.
-
-
Constructor Summary
Constructors Constructor Description ResponsePromise(scala.concurrent.Promise<HttpResponse> promise)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResponsePromise
apply(scala.concurrent.Promise<HttpResponse> promise)
static AttributeKey<ResponsePromise>
Key()
scala.concurrent.Promise<HttpResponse>
promise()
-
-
-
Constructor Detail
-
ResponsePromise
public ResponsePromise(scala.concurrent.Promise<HttpResponse> promise)
-
-
Method Detail
-
Key
public static AttributeKey<ResponsePromise> Key()
-
apply
public static ResponsePromise apply(scala.concurrent.Promise<HttpResponse> promise)
-
promise
public scala.concurrent.Promise<HttpResponse> promise()
-
-