Interface Response.SuccessListener

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

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