Class DelegatingServletInputStream

java.lang.Object
java.io.InputStream
javax.servlet.ServletInputStream
com.atlassian.bamboo.plugins.rest.common.DelegatingServletInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

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

    • DelegatingServletInputStream

      public DelegatingServletInputStream(@NotNull @NotNull InputStream sourceStream)
  • Method Details

    • read

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

      public void close() throws IOException
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Overrides:
      close 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