| Package | Description |
|---|---|
| io.higgs.http.client |
| Modifier and Type | Field and Description |
|---|---|
protected FutureResponse |
Request.future |
| Modifier and Type | Method and Description |
|---|---|
FutureResponse |
Request.execute() |
FutureResponse |
Request.execute(Function1<io.netty.bootstrap.Bootstrap> conf)
Makes the request to the server
|
FutureResponse |
JSONRequest.execute(Function1<io.netty.bootstrap.Bootstrap> conf) |
FutureResponse |
HTTPStreamingRequest.execute(Function1<io.netty.bootstrap.Bootstrap> conf) |
| Modifier and Type | Method and Description |
|---|---|
void |
RetryPolicy.activate(FutureResponse future,
Throwable cause,
boolean connectFailure,
Response response)
Invoked when a request has failed, either because of a connection failure, the response was an error where
retries are allowed or another exception occurred.
|
| Constructor and Description |
|---|
ClientHandler(Response response,
FutureResponse future,
RetryPolicy policy) |
Copyright © 2012-2015. All Rights Reserved.