Class AsyncMiddleManServlet.ProxyWriter

java.lang.Object
org.eclipse.jetty.proxy.AsyncMiddleManServlet.ProxyWriter
All Implemented Interfaces:
EventListener, javax.servlet.WriteListener
Enclosing class:
AsyncMiddleManServlet

protected class AsyncMiddleManServlet.ProxyWriter extends Object implements javax.servlet.WriteListener
  • Constructor Details

    • ProxyWriter

      protected ProxyWriter(javax.servlet.http.HttpServletRequest clientRequest, Response serverResponse)
  • Method Details

    • offer

      public boolean offer(ByteBuffer content, Callback callback)
    • onWritePossible

      public void onWritePossible() throws IOException
      Specified by:
      onWritePossible in interface javax.servlet.WriteListener
      Throws:
      IOException
    • onError

      public void onError(Throwable failure)
      Specified by:
      onError in interface javax.servlet.WriteListener