Package org.eclipse.jetty.client.api
Class Result
java.lang.Object
org.eclipse.jetty.client.api.Result
-
Constructor Details
-
Result
-
Result
-
Result
-
Result
-
Result
-
-
Method Details
-
getRequest
- Returns:
- the request object
-
getRequestFailure
- Returns:
- the request failure, if any
-
getResponse
- Returns:
- the response object
-
getResponseFailure
- Returns:
- the response failure, if any
-
isSucceeded
public boolean isSucceeded()- Returns:
- whether both the request and the response succeeded
-
isFailed
public boolean isFailed()- Returns:
- whether either the response or the request failed
-
getFailure
- Returns:
- the response failure, if any, otherwise the request failure, if any
-
toString
-