Class MultiPartStreamCached
java.lang.Object
cool.scx.http.media.multi_part.MultiPartStream
cool.scx.http.media.multi_part.MultiPartStreamCached
- All Implemented Interfaces:
MultiPart,Iterable<MultiPartPart>,Iterator<MultiPartPart>
-
Field Summary
Fields inherited from class cool.scx.http.media.multi_part.MultiPartStream
boundary, boundaryBytes, CRLF_CRLF_BYTES, hasNextPart, linkedDataReader -
Constructor Summary
ConstructorsConstructorDescriptionMultiPartStreamCached(InputStream inputStream, String boundary, Path cachePath) -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanneedCached(ScxHttpHeaders headers) next()readContentToPath(Path path) Methods inherited from class cool.scx.http.media.multi_part.MultiPartStream
boundary, hasNext, iterator, readContentToByte, readNext, readToHeadersMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Constructor Details
-
MultiPartStreamCached
-
-
Method Details
-
needCached
-
readContentToPath
- Throws:
IOException
-
next
- Specified by:
nextin interfaceIterator<MultiPartPart>- Overrides:
nextin classMultiPartStream
-