Class AsyncProxyServlet.StreamWriter

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

protected class AsyncProxyServlet.StreamWriter extends Object implements jakarta.servlet.WriteListener
  • Constructor Details

    • StreamWriter

      protected StreamWriter(jakarta.servlet.http.HttpServletRequest request, Response proxyResponse)
  • Method Details

    • data

      protected void data(byte[] bytes, int offset, int length, Callback callback)
    • onWritePossible

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

      protected void complete()
    • onError

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