Class AsyncMiddleManServlet.ProxyWriter

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

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

    • ProxyWriter

      protected ProxyWriter(jakarta.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 jakarta.servlet.WriteListener
      Throws:
      IOException
    • onError

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