RequestSpec.Body |
RequestSpec.Body.buffer(io.netty.buffer.ByteBuf byteBuf) |
Specifies the request body as a byte buffer.
|
RequestSpec.Body |
RequestSpec.Body.bytes(byte[] bytes) |
Specifies the request body as a byte array.
|
RequestSpec.Body |
RequestSpec.getBody() |
The body of the request, used for specifying the body content.
|
RequestSpec.Body |
RequestSpec.Body.stream(Action<? super java.io.OutputStream> action) |
Specifies the request body by writing to an output stream.
|
RequestSpec.Body |
RequestSpec.Body.text(java.lang.CharSequence text) |
Specifies the request body as a UTF-8 char sequence.
|
RequestSpec.Body |
RequestSpec.Body.text(java.lang.CharSequence text,
java.nio.charset.Charset charset) |
Specifies the request body as a char sequence of the given charset.
|
RequestSpec.Body |
RequestSpec.Body.type(java.lang.CharSequence contentType) |
Specifies the "Content-Type" of the request.
|