-
- All Implemented Interfaces:
-
apptentive.com.android.network.HttpRequestBody
public final class BinaryRequestBody implements HttpRequestBody
-
-
Field Summary
Fields Modifier and Type Field Description private final StringcontentType
-
Constructor Summary
Constructors Constructor Description BinaryRequestBody(ByteArray data, String contentType)
-
Method Summary
Modifier and Type Method Description StringgetContentType()HTTP-request content type Unitwrite(OutputStream stream)Writes HTTP-request body to an output stream StringasString()-
-
Method Detail
-
getContentType
String getContentType()
HTTP-request content type
-
write
Unit write(OutputStream stream)
Writes HTTP-request body to an output stream
-
-
-
-