Class BytesServletInputStream

java.lang.Object
java.io.InputStream
javax.servlet.ServletInputStream
com.logicaldoc.util.servlet.BytesServletInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class BytesServletInputStream extends javax.servlet.ServletInputStream
  • Constructor Details

    • BytesServletInputStream

      public BytesServletInputStream(byte[] bytes)
  • Method Details

    • read

      public int read() throws IOException
      Specified by:
      read in class InputStream
      Throws:
      IOException
    • isFinished

      public boolean isFinished()
      Specified by:
      isFinished in class javax.servlet.ServletInputStream
    • isReady

      public boolean isReady()
      Specified by:
      isReady in class javax.servlet.ServletInputStream
    • setReadListener

      public void setReadListener(javax.servlet.ReadListener readListener)
      Specified by:
      setReadListener in class javax.servlet.ServletInputStream