Class DataSupplierBody
java.lang.Object
okhttp3.RequestBody
net.dv8tion.jda.internal.utils.requestbody.TypedBody<DataSupplierBody>
net.dv8tion.jda.internal.utils.requestbody.DataSupplierBody
-
Nested Class Summary
Nested classes/interfaces inherited from class okhttp3.RequestBody
okhttp3.RequestBody.Companion
-
Field Summary
Fields inherited from class okhttp3.RequestBody
Companion, EMPTY
-
Constructor Summary
ConstructorsConstructorDescriptionDataSupplierBody
(okhttp3.MediaType type, Supplier<? extends okio.Source> streamSupply) -
Method Summary
Methods inherited from class net.dv8tion.jda.internal.utils.requestbody.TypedBody
contentType
Methods inherited from class okhttp3.RequestBody
contentLength, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, isDuplex, isOneShot
-
Constructor Details
-
DataSupplierBody
-
-
Method Details
-
withType
- Specified by:
withType
in classTypedBody<DataSupplierBody>
-
writeTo
- Specified by:
writeTo
in classokhttp3.RequestBody
- Throws:
IOException
-