public class InputStreamRequestBody extends Object implements RequestBody
| Constructor and Description |
|---|
InputStreamRequestBody(String contentType,
InputStreamSupplier inputStreamSupplier) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType() |
void |
write(OutputStream out) |
public InputStreamRequestBody(String contentType, InputStreamSupplier inputStreamSupplier)
public String getContentType()
getContentType in interface RequestBodypublic void write(OutputStream out) throws IOException
write in interface RequestBodyIOExceptionCopyright © 2019. All rights reserved.