Package | Description |
---|---|
com.jcabi.http |
RESTful client, for tests (but not only).
|
com.jcabi.http.request |
Requests.
|
Modifier and Type | Method and Description |
---|---|
RequestBody |
Request.body()
Get request body.
|
RequestBody |
RequestBody.formParam(String name,
Object value)
Add form param.
|
RequestBody |
RequestBody.formParams(Map<String,String> params)
Add form params.
|
RequestBody |
RequestBody.set(byte[] body)
Set byte array content.
|
RequestBody |
RequestBody.set(javax.json.JsonStructure json)
Set JSON content.
|
RequestBody |
RequestBody.set(String body)
Set text content.
|
Modifier and Type | Method and Description |
---|---|
RequestBody |
ApacheRequest.body() |
RequestBody |
FakeRequest.body() |
RequestBody |
JdkRequest.body() |
Copyright © 2012–2014 jcabi.com. All rights reserved.