public class RequestBodyEntity extends BaseRequest implements Body
httpRequest, UTF_8| Constructor and Description |
|---|
RequestBodyEntity(HttpRequest httpRequest) |
| Modifier and Type | Method and Description |
|---|---|
RequestBodyEntity |
body(JsonNode body) |
RequestBodyEntity |
body(String body) |
Object |
getBody() |
org.apache.http.HttpEntity |
getEntity() |
asBinary, asBinaryAsync, asBinaryAsync, asJson, asJsonAsync, asJsonAsync, asString, asStringAsync, asStringAsync, getHttpRequestpublic RequestBodyEntity(HttpRequest httpRequest)
public RequestBodyEntity body(String body)
public RequestBodyEntity body(JsonNode body)
public Object getBody()
Copyright © 2014. All rights reserved.