Package org.eclipse.jetty.client
Class Result
java.lang.Object
org.eclipse.jetty.client.Result
-
Constructor Summary
ConstructorDescription -
Method Summary
-
Constructor Details
-
Result
-
Result
-
Result
-
Result
-
Result
-
-
Method Details
-
getRequest
Get the request object.- Returns:
- the request object
-
getRequestFailure
Get the request failure, if any.- Returns:
- the request failure, if any
-
getResponse
Get the response object.- Returns:
- the response object
-
getResponseFailure
Get the response failure, if any.- 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
Get the response failure, if any, otherwise the request failure, if any.- Returns:
- the response failure, if any, otherwise the request failure, if any
-
toString
-