public class RequestBodyEntity extends BaseRequest implements Body
| Modifier and Type | Field and Description |
|---|---|
private Object |
body |
httpRequest, UTF_8| Constructor and Description |
|---|
RequestBodyEntity(HttpRequest httpRequest) |
| Modifier and Type | Method and Description |
|---|---|
RequestBodyEntity |
body(com.fasterxml.jackson.databind.JsonNode body) |
RequestBodyEntity |
body(String body) |
Object |
getBody() |
org.apache.http.HttpEntity |
getEntity() |
asBinary, asBinaryAsync, asBinaryAsync, asHtml, asJson, asJsonAsync, asJsonAsync, asString, asStringAsync, asStringAsyncprivate Object body
public RequestBodyEntity(HttpRequest httpRequest)
public RequestBodyEntity body(String body)
public RequestBodyEntity body(com.fasterxml.jackson.databind.JsonNode body)
public Object getBody()
Copyright © 2013–2014 Wisdom Framework. All rights reserved.