Class MultipartPreservingRequest.FileServletInputStream

java.lang.Object
java.io.InputStream
javax.servlet.ServletInputStream
de.xima.fc.http.MultipartPreservingRequest.FileServletInputStream
All Implemented Interfaces:
Closeable, AutoCloseable
Enclosing class:
MultipartPreservingRequest

public static class MultipartPreservingRequest.FileServletInputStream extends javax.servlet.ServletInputStream
Since:
8.0.0
Author:
XIMA MEDIA GmbH, Dresden
  • Constructor Details

    • FileServletInputStream

      public FileServletInputStream(InputStream inputStream)
  • Method Details

    • 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
    • read

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

      public int read(byte[] b) throws IOException
      Overrides:
      read in class InputStream
      Throws:
      IOException
    • read

      public int read(byte[] b, int off, int len) throws IOException
      Overrides:
      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