Interface Response.SuccessListener

All Superinterfaces:
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

    Modifier and Type
    Method
    Description
    void
    onSuccess(Response response)
    Callback method invoked when the whole response has been successfully received.
  • Method Details

    • 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