Package org.eclipse.jetty.client
Interface Response.FailureListener
- All Superinterfaces:
EventListener
,Response.ResponseListener
- All Known Subinterfaces:
Response.Listener
- All Known Implementing Classes:
AsyncMiddleManServlet.ProxyResponseListener
,BufferingResponseListener
,CompletableResponseListener
,ContinueProtocolHandler.ContinueListener
,FutureResponseListener
,InputStreamResponseListener
,PathResponseListener
,ProxyHandler.ProxyResponseListener
,ProxyServlet.ProxyResponseListener
,RedirectProtocolHandler
- Enclosing interface:
- Response
Listener for the response failure event.
-
Method Summary
-
Method Details
-
onFailure
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
-