- All Known Subinterfaces:
- All Known Implementing Classes:
- Enclosing interface:
@Deprecated(since="2021-05-27") public static interface Response.CompleteListener extends Response.ResponseListenerDeprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.Listener for the request and response completed event.
void onComplete(Result result)Deprecated.Callback method invoked when the request and the response have been processed, either successfully or not.
resultparameter contains the request, the response, and eventual failures.
Requests may complete after response, for example in case of big uploads that are discarded or read asynchronously by the server. This method is always invoked after
Response.FailureListener.onFailure(Response, Throwable), and only when request indicates that it is completed.
result- the result of the request / response exchange