Package de.xima.fc.http
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
-
-
Constructor Summary
Constructors Constructor Description FileServletInputStream(File tempFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()booleanisFinished()booleanisReady()intread()voidsetReadListener(javax.servlet.ReadListener readListener)-
Methods inherited from class java.io.InputStream
available, mark, markSupported, nullInputStream, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, transferTo
-
-
-
-
Constructor Detail
-
FileServletInputStream
public FileServletInputStream(File tempFile) throws IOException
- Throws:
IOException
-
-
Method Detail
-
read
public int read() throws IOException- Specified by:
readin classInputStream- Throws:
IOException
-
isFinished
public boolean isFinished()
- Specified by:
isFinishedin classjavax.servlet.ServletInputStream
-
isReady
public boolean isReady()
- Specified by:
isReadyin classjavax.servlet.ServletInputStream
-
setReadListener
public void setReadListener(javax.servlet.ReadListener readListener)
- Specified by:
setReadListenerin classjavax.servlet.ServletInputStream
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-
-