Interface MultiPartPart
- All Superinterfaces:
ScxHttpBody
- All Known Subinterfaces:
MultiPartPartWritable
- All Known Implementing Classes:
MultiPartPartImpl
MultiPartPart
- Version:
- 0.0.1
- Author:
- scx567888
-
Method Summary
Modifier and TypeMethodDescriptiondefault <T> Tas(MediaReader<T> t) body()default ContentDispositiondefault ContentTypedefault Stringfilename()headers()default InputStreamdefault Stringname()static MultiPartPartWritableof()static MultiPartPartWritablestatic MultiPartPartWritablestatic MultiPartPartWritabledefault Longsize()Methods inherited from interface cool.scx.http.ScxHttpBody
asBytes, asFormParams, asJsonNode, asMultiPart, asMultiPartCached, asMultiPartCached, asObject, asObject, asPath, asString, asString
-
Method Details
-
of
-
of
-
of
-
of
-
headers
ScxHttpHeaders headers()- Specified by:
headersin interfaceScxHttpBody
-
body
Supplier<InputStream> body() -
inputStream
- Specified by:
inputStreamin interfaceScxHttpBody
-
as
- Specified by:
asin interfaceScxHttpBody
-
contentType
-
contentDisposition
-
name
-
filename
-
size
-