Interface Response.HeadersListener

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.HeadersListener extends Response.ResponseListener
Listener for the response headers event.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onHeaders(Response response)
    Callback method invoked when all the response headers have been received and parsed.
  • Method Details

    • onHeaders

      void onHeaders(Response response)
      Callback method invoked when all the response headers have been received and parsed.
      Parameters:
      response - the response containing the response line data and the headers