Class MultipartInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FilterInputStream
-
- org.apache.abdera.protocol.server.multipart.MultipartInputStream
-
- All Implemented Interfaces:
Closeable,AutoCloseable
@Deprecated public class MultipartInputStream extends FilterInputStream
Deprecated.Legacy AEM 6.x API.InputStream that reads a given inputStream and skips the boundary tokens.
-
-
Constructor Summary
Constructors Constructor Description MultipartInputStream(InputStream input, byte[] boundary)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description intread()Deprecated.intread(byte[] bytes)Deprecated.intread(byte[] buffer, int offset, int length)Deprecated.voidskipBoundary()Deprecated.-
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, reset, skip
-
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, transferTo
-
-
-
-
Constructor Detail
-
MultipartInputStream
public MultipartInputStream(InputStream input, byte[] boundary)
Deprecated.
-
-
Method Detail
-
skipBoundary
public void skipBoundary() throws IOExceptionDeprecated.- Throws:
IOException
-
read
public int read() throws IOExceptionDeprecated.- Overrides:
readin classFilterInputStream- Throws:
IOException
-
read
public int read(byte[] bytes) throws IOExceptionDeprecated.- Overrides:
readin classFilterInputStream- Throws:
IOException
-
read
public int read(byte[] buffer, int offset, int length) throws IOExceptionDeprecated.- Overrides:
readin classFilterInputStream- Throws:
IOException
-
-