Class HttpServletResponseWrapper.DeferredOutputStream

  • All Implemented Interfaces:
    jakarta.servlet.WriteListener, Closeable, Flushable, AutoCloseable, EventListener
    Enclosing class:

    protected class HttpServletResponseWrapper.DeferredOutputStream
    extends AsyncOutputStream
    implements jakarta.servlet.WriteListener
    RESTEASY-684 wants to defer access to outputstream until a write happens

    Note that all locking is on this and should remain that way to avoid deadlocks on consumers of this stream.