Package org.eclipse.jetty.client.api
Interface Response.SuccessListener
-
- All Superinterfaces:
java.util.EventListener,Response.ResponseListener
- All Known Subinterfaces:
Response.Listener
- All Known Implementing Classes:
AsyncMiddleManServlet.ProxyResponseListener,BufferingResponseListener,ContinueProtocolHandler.ContinueListener,FutureResponseListener,InputStreamResponseListener,ProxyServlet.ProxyResponseListener,RedirectProtocolHandler,Response.Listener.Adapter
- Enclosing interface:
- Response
public static interface Response.SuccessListener extends Response.ResponseListener
Listener for the response succeeded event.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonSuccess(Response response)Callback method invoked when the whole response has been successfully received.
-
-
-
Method Detail
-
onSuccess
void onSuccess(Response response)
Callback method invoked when the whole response has been successfully received.- Parameters:
response- the response containing the response line data and the headers
-
-