Package org.eclipse.jetty.client.api
Class Result
- java.lang.Object
-
- org.eclipse.jetty.client.api.Result
-
@Deprecated(since="2021-05-27") public class Result extends java.lang.Object
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
-
-
Constructor Summary
Constructors Constructor Description Result(Request request, java.lang.Throwable requestFailure, Response response)
Deprecated.Result(Request request, java.lang.Throwable requestFailure, Response response, java.lang.Throwable responseFailure)
Deprecated.Result(Request request, Response response)
Deprecated.Result(Request request, Response response, java.lang.Throwable responseFailure)
Deprecated.Result(Result result, java.lang.Throwable responseFailure)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.Throwable
getFailure()
Deprecated.Request
getRequest()
Deprecated.java.lang.Throwable
getRequestFailure()
Deprecated.Response
getResponse()
Deprecated.java.lang.Throwable
getResponseFailure()
Deprecated.boolean
isFailed()
Deprecated.boolean
isSucceeded()
Deprecated.java.lang.String
toString()
Deprecated.
-
-
-
Constructor Detail
-
Result
public Result(Request request, Response response, java.lang.Throwable responseFailure)
Deprecated.
-
Result
public Result(Request request, java.lang.Throwable requestFailure, Response response)
Deprecated.
-
Result
public Result(Request request, java.lang.Throwable requestFailure, Response response, java.lang.Throwable responseFailure)
Deprecated.
-
Result
public Result(Result result, java.lang.Throwable responseFailure)
Deprecated.
-
-
Method Detail
-
getRequest
public Request getRequest()
Deprecated.- Returns:
- the request object
-
getRequestFailure
public java.lang.Throwable getRequestFailure()
Deprecated.- Returns:
- the request failure, if any
-
getResponse
public Response getResponse()
Deprecated.- Returns:
- the response object
-
getResponseFailure
public java.lang.Throwable getResponseFailure()
Deprecated.- Returns:
- the response failure, if any
-
isSucceeded
public boolean isSucceeded()
Deprecated.- Returns:
- whether both the request and the response succeeded
-
isFailed
public boolean isFailed()
Deprecated.- Returns:
- whether either the response or the request failed
-
getFailure
public java.lang.Throwable getFailure()
Deprecated.- Returns:
- the response failure, if any, otherwise the request failure, if any
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
-