Package org.eclipse.jetty.client.api
Interface Response.FailureListener
-
- All Superinterfaces:
java.util.EventListener
,Response.ResponseListener
- All Known Subinterfaces:
Response.Listener
- All Known Implementing Classes:
BufferingResponseListener
,FutureResponseListener
,InputStreamResponseListener
,RedirectProtocolHandler
,Response.Listener.Adapter
- Enclosing interface:
- Response
@Deprecated(since="2021-05-27") public static interface Response.FailureListener extends Response.ResponseListener
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.Listener for the response failure event.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
onFailure(Response response, java.lang.Throwable failure)
Deprecated.Callback method invoked when the response has failed in the process of being received
-
-
-
Method Detail
-
onFailure
void onFailure(Response response, java.lang.Throwable failure)
Deprecated.Callback method invoked when the response has failed in the process of being received- Parameters:
response
- the response containing data up to the point the failure happenedfailure
- the failure happened
-
-