Class MultiPartPartImpl
java.lang.Object
cool.scx.http.media.multi_part.MultiPartPartImpl
- All Implemented Interfaces:
MultiPartPart,MultiPartPartWritable,ScxHttpBody
MultiPartPartImpl
- Version:
- 0.0.1
- Author:
- scx567888
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbody()body(Supplier<InputStream> os) headers()headers(ScxHttpHeaders headers) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cool.scx.http.media.multi_part.MultiPartPart
as, contentDisposition, contentType, filename, inputStream, name, sizeMethods inherited from interface cool.scx.http.media.multi_part.MultiPartPartWritable
body, body, body, body, contentDisposition, contentType, filename, name, sizeMethods inherited from interface cool.scx.http.ScxHttpBody
asBytes, asFormParams, asJsonNode, asMultiPart, asMultiPartCached, asMultiPartCached, asObject, asObject, asPath, asString, asString
-
Constructor Details
-
MultiPartPartImpl
public MultiPartPartImpl()
-
-
Method Details
-
headers
- Specified by:
headersin interfaceMultiPartPartWritable
-
body
- Specified by:
bodyin interfaceMultiPartPartWritable
-
headers
- Specified by:
headersin interfaceMultiPartPart- Specified by:
headersin interfaceMultiPartPartWritable- Specified by:
headersin interfaceScxHttpBody
-
body
- Specified by:
bodyin interfaceMultiPartPart
-