public static class PoolFlow.RequestContext
extends java.lang.Object
implements scala.Product, java.io.Serializable
Constructor and Description |
---|
RequestContext(HttpRequest request,
scala.concurrent.Promise<HttpResponse> responsePromise,
int retriesLeft) |
Modifier and Type | Method and Description |
---|---|
boolean |
canBeRetried() |
HttpRequest |
request() |
scala.concurrent.Promise<HttpResponse> |
responsePromise() |
int |
retriesLeft() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public RequestContext(HttpRequest request, scala.concurrent.Promise<HttpResponse> responsePromise, int retriesLeft)
public HttpRequest request()
public scala.concurrent.Promise<HttpResponse> responsePromise()
public int retriesLeft()
public boolean canBeRetried()