Package akka.http.impl.engine.client
Class PoolFlow.RequestContext
- java.lang.Object
-
- akka.http.impl.engine.client.PoolFlow.RequestContext
-
- All Implemented Interfaces:
java.io.Serializable
,scala.Equals
,scala.Product
- Enclosing class:
- PoolFlow
public static class PoolFlow.RequestContext extends java.lang.Object implements scala.Product, java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RequestContext(HttpRequest request, scala.concurrent.Promise<HttpResponse> responsePromise, int retriesLeft)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canBeRetried()
HttpRequest
request()
scala.concurrent.Promise<HttpResponse>
responsePromise()
int
retriesLeft()
-
-
-
Constructor Detail
-
RequestContext
public RequestContext(HttpRequest request, scala.concurrent.Promise<HttpResponse> responsePromise, int retriesLeft)
-
-
Method Detail
-
request
public HttpRequest request()
-
responsePromise
public scala.concurrent.Promise<HttpResponse> responsePromise()
-
retriesLeft
public int retriesLeft()
-
canBeRetried
public boolean canBeRetried()
-
-