Class ProxyServlet.ProxyResponseListener

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ProxyResponseListener​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onBegin​(Response proxyResponse)
      Callback method invoked when the response line containing HTTP version, HTTP status code and reason has been received and parsed.
      void onComplete​(Result result)
      Callback method invoked when the request and the response have been processed, either successfully or not.
      void onContent​(Response proxyResponse, java.nio.ByteBuffer content, Callback callback)
      Callback method invoked asynchronously when the response content has been received.
      void onHeaders​(Response proxyResponse)
      Callback method invoked when the response headers have been received and parsed.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait