Interface MultiPartPart
- All Superinterfaces:
ScxHttpBody
- All Known Subinterfaces:
MultiPartPartWritable
- All Known Implementing Classes:
MultiPartPartImpl
-
Method Summary
Modifier and TypeMethodDescriptiondefault <T> Tas(MediaReader<T> mediaReader) cool.scx.function.Function0<cool.scx.io.ByteInput, ?> body()default cool.scx.io.ByteInputdefault ContentDispositiondefault ScxMediaTypedefault Stringfilename()headers()default Stringname()static MultiPartPartWritableof()static MultiPartPartWritablestatic MultiPartPartWritablestatic MultiPartPartWritabledefault Longsize()Methods inherited from interface ScxHttpBody
asBytes, asCacheBody, asEventStream, asFile, asFormParams, asGzipBody, asMultiPart, asNode, asObject, asObject, asString, asString
-
Method Details
-
of
-
of
-
of
-
of
-
headers
ScxHttpHeaders headers() -
body
cool.scx.function.Function0<cool.scx.io.ByteInput, ?> body() -
byteInput
default cool.scx.io.ByteInput byteInput() throws cool.scx.io.exception.ScxIOException- Specified by:
byteInputin interfaceScxHttpBody- Throws:
cool.scx.io.exception.ScxIOException
-
as
- Specified by:
asin interfaceScxHttpBody- Throws:
BodyAlreadyConsumedExceptionBodyReadException
-
contentType
-
contentDisposition
-
name
-
filename
-
size
-