Request, the Response
and eventual failures of either.
| Modifier and Type | Field and Description |
|---|---|
| private final Request | |
| private final Throwable | |
| private final Response | |
| private final Throwable |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Throwable | Returns: the response failure, if any, otherwise the request failure, if anyGet the response failure, if any, otherwise the request failure, if any. |
| public Request | |
| public Throwable | |
| public Response | |
| public Throwable | |
| public boolean | |
| public boolean | |
| public String |
| request | back to summary |
|---|---|
| private final Request request | |
| requestFailure | back to summary |
|---|---|
| private final Throwable requestFailure | |
| response | back to summary |
|---|---|
| private final Response response | |
| responseFailure | back to summary |
|---|---|
| private final Throwable responseFailure | |
| Result | back to summary |
|---|---|
| public Result(Request request, Response response) | |
| Result | back to summary |
|---|---|
| public Result(Request request, Response response, Throwable responseFailure) | |
| Result | back to summary |
|---|---|
| public Result(Request request, Throwable requestFailure, Response response) | |
| Result | back to summary |
|---|---|
| public Result(Request request, Throwable requestFailure, Response response, Throwable responseFailure) | |
| Result | back to summary |
|---|---|
| public Result(Result result, Throwable responseFailure) | |
| getFailure | back to summary |
|---|---|
| public Throwable getFailure() Get the response failure, if any, otherwise the request failure, if any.
| |
| getRequest | back to summary |
|---|---|
| public Request getRequest() Get the request object.
| |
| getRequestFailure | back to summary |
|---|---|
| public Throwable getRequestFailure() Get the request failure, if any.
| |
| getResponse | back to summary |
|---|---|
| public Response getResponse() Get the response object.
| |
| getResponseFailure | back to summary |
|---|---|
| public Throwable getResponseFailure() Get the response failure, if any.
| |
| isFailed | back to summary |
|---|---|
public boolean isFailed()
| |
| isSucceeded | back to summary |
|---|---|
public boolean isSucceeded()
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |