public interface HttpRequestWithBody extends HttpRequest<HttpRequestWithBody>
| Modifier and Type | Method and Description |
|---|---|
RequestBodyEntity |
body(byte[] body) |
RequestBodyEntity |
body(org.json.JSONArray body) |
RequestBodyEntity |
body(JsonNode body) |
RequestBodyEntity |
body(org.json.JSONObject body) |
RequestBodyEntity |
body(Object body) |
RequestBodyEntity |
body(String body) |
HttpRequestWithBody |
charset(Charset charset) |
MultipartBody |
field(String name,
Collection<?> value) |
MultipartBody |
field(String name,
File file) |
MultipartBody |
field(String name,
File file,
String contentType) |
MultipartBody |
field(String name,
InputStream stream,
org.apache.http.entity.ContentType contentType,
String fileName) |
MultipartBody |
field(String name,
InputStream stream,
String fileName) |
MultipartBody |
field(String name,
Object value) |
MultipartBody |
field(String name,
Object value,
String contentType) |
MultipartBody |
fields(Map<String,Object> parameters) |
Charset |
getCharset() |
accept, asBinary, asBinaryAsync, asBinaryAsync, asEmpty, asEmptyAsync, asEmptyAsync, asFile, asFileAsync, asFileAsync, asJson, asJsonAsync, asJsonAsync, asObject, asObject, asObject, asObjectAsync, asObjectAsync, asObjectAsync, asObjectAsync, asObjectAsync, asPaged, asString, asStringAsync, asStringAsync, basicAuth, getBody, getHeaders, getHttpMethod, getUrl, header, headerReplace, headers, queryString, queryString, queryString, responseEncoding, routeParam, thenConsume, thenConsumeAsync, withObjectMapperHttpRequestWithBody charset(Charset charset)
MultipartBody field(String name, Collection<?> value)
MultipartBody field(String name, File file)
MultipartBody field(String name, File file, String contentType)
MultipartBody field(String name, Object value)
MultipartBody field(String name, Object value, String contentType)
MultipartBody fields(Map<String,Object> parameters)
MultipartBody field(String name, InputStream stream, org.apache.http.entity.ContentType contentType, String fileName)
MultipartBody field(String name, InputStream stream, String fileName)
RequestBodyEntity body(JsonNode body)
RequestBodyEntity body(String body)
RequestBodyEntity body(Object body)
RequestBodyEntity body(byte[] body)
RequestBodyEntity body(org.json.JSONObject body)
RequestBodyEntity body(org.json.JSONArray body)
Charset getCharset()
Copyright © 2019. All rights reserved.