| Package | Description |
|---|---|
| kong.unirest |
| Modifier and Type | Method and Description |
|---|---|
RequestBodyEntity |
RequestBodyEntity.body(byte[] bodyBytes)
Set a byte array as the body of the request
|
RequestBodyEntity |
HttpRequestWithBody.body(byte[] body)
Set a byte array as the body of the request
|
RequestBodyEntity |
RequestBodyEntity.body(InputStream body)
Set a InputStream as the body
|
RequestBodyEntity |
HttpRequestWithBody.body(InputStream body)
Set a InputStream as the body
|
RequestBodyEntity |
RequestBodyEntity.body(JSONElement body)
Set JSON on the body
|
RequestBodyEntity |
HttpRequestWithBody.body(JSONElement body)
Set JSON on the body
|
RequestBodyEntity |
RequestBodyEntity.body(JsonNode jsonBody)
Set JSON on the body
|
RequestBodyEntity |
HttpRequestWithBody.body(JsonNode body)
Set JSON on the body
|
RequestBodyEntity |
RequestBodyEntity.body(Object body)
Set a Object as the body of the request.
|
RequestBodyEntity |
HttpRequestWithBody.body(Object body)
Set a Object as the body of the request.
|
RequestBodyEntity |
RequestBodyEntity.body(String bodyAsString)
Set a String as the body of the request
|
RequestBodyEntity |
HttpRequestWithBody.body(String body)
Set a String as the body of the request
|
RequestBodyEntity |
RequestBodyEntity.charset(Charset charset)
Set the Charset encoding for the Content-Type.
|
RequestBodyEntity |
RequestBodyEntity.contentType(String type) |
default RequestBodyEntity |
RequestBodyEntity.noCharset()
Removes any Charset for the Content-Type for when servers cannot process it.
|
RequestBodyEntity |
RequestBodyEntity.uploadMonitor(ProgressMonitor monitor)
Set a Progress upload monitor suitable for drawing progress bars and whatnot.
|
Copyright © 2021. All rights reserved.