Package com.vaadin.server.communication
Class FileUploadHandler.SimpleMultiPartInputStream
- java.lang.Object
-
- java.io.InputStream
-
- com.vaadin.server.communication.FileUploadHandler.SimpleMultiPartInputStream
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Enclosing class:
- FileUploadHandler
public static class FileUploadHandler.SimpleMultiPartInputStream extends InputStream
Stream that extracts content from another stream until the boundary string is encountered. Public only for unit tests, should be considered private for all other purposes.
-
-
Constructor Summary
Constructors Constructor Description SimpleMultiPartInputStream(InputStream realInputStream, String boundaryString)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
read()
-
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, read, read, reset, skip
-
-
-
-
Constructor Detail
-
SimpleMultiPartInputStream
public SimpleMultiPartInputStream(InputStream realInputStream, String boundaryString)
-
-
Method Detail
-
read
public int read() throws IOException
- Specified by:
read
in classInputStream
- Throws:
IOException
-
-