static RequestBody |
RequestBody.empty() |
static RequestBody |
RequestBody.fromByteBuffer(ByteBuffer byteBuffer) |
static RequestBody |
RequestBody.fromBytes(byte[] bytes) |
static RequestBody |
RequestBody.fromBytes(byte[] bytes,
String mimetype) |
static RequestBody |
RequestBody.fromBytesDirect(byte[] bytes) |
static RequestBody |
RequestBody.fromBytesDirect(byte[] bytes,
String mimetype) |
static RequestBody |
RequestBody.fromContentProvider(ContentStreamProvider provider,
Long contentLength,
String mimetype) |
static RequestBody |
RequestBody.fromFile(File file) |
static RequestBody |
RequestBody.fromFile(Path path) |
static RequestBody |
RequestBody.fromFile(Path path,
String mimetype) |
static RequestBody |
RequestBody.fromInputStream(InputStream inputStream) |
static RequestBody |
RequestBody.fromInputStream(InputStream inputStream,
Long contentLength) |
static RequestBody |
RequestBody.fromInputStream(InputStream inputStream,
Long contentLength,
String mimetype) |
static RequestBody |
RequestBody.fromRemainingByteBuffer(ByteBuffer byteBuffer) |
static RequestBody |
RequestBody.fromString(String contents) |
static RequestBody |
RequestBody.fromString(String contents,
Charset cs) |
static RequestBody |
RequestBody.fromString(String contents,
Charset cs,
String mimetype) |