Class DummyServletOutputStream

java.lang.Object
java.io.OutputStream
javax.servlet.ServletOutputStream
org.nuxeo.ecm.core.io.DummyServletOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class DummyServletOutputStream extends javax.servlet.ServletOutputStream
A dummy ServletOutputStream for tests.
Since:
2023.0
  • Field Details

  • Constructor Details

  • Method Details

    • isReady

      public boolean isReady()
      Specified by:
      isReady in class javax.servlet.ServletOutputStream
    • setWriteListener

      public void setWriteListener(javax.servlet.WriteListener writeListener)
      Specified by:
      setWriteListener in class javax.servlet.ServletOutputStream
    • write

      public void write(int b) throws IOException
      Specified by:
      write in class OutputStream
      Throws:
      IOException