Class OHttpMultipartContentInputStream
java.lang.Object
java.io.InputStream
com.orientechnologies.orient.server.network.protocol.http.multipart.OHttpMultipartContentInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
- Author:
- Luca Molino (molino.luca--at--gmail.com)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected booleanprotected intprotected OHttpMultipartBaseInputStream -
Constructor Summary
ConstructorsConstructorDescriptionOHttpMultipartContentInputStream(OHttpMultipartBaseInputStream in, String iBoundary) -
Method Summary
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Field Details
-
boundary
-
wrappedInputStream
-
nextByte
protected int nextByte -
internalAvailable
protected boolean internalAvailable
-
-
Constructor Details
-
OHttpMultipartContentInputStream
public OHttpMultipartContentInputStream(OHttpMultipartBaseInputStream in, String iBoundary) throws IOException - Throws:
IOException
-
-
Method Details
-
getWrappedInputStream
-
available
- Overrides:
availablein classInputStream- Throws:
IOException
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-
mark
public void mark(int readlimit) - Overrides:
markin classInputStream
-
markSupported
public boolean markSupported()- Overrides:
markSupportedin classInputStream
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
reset
- Overrides:
resetin classInputStream- Throws:
IOException
-
skip
- Overrides:
skipin classInputStream- Throws:
IOException
-
toString
-
bufferData
- Throws:
IOException
-