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(Publisher<? extends io.netty.buffer.ByteBuf> publisher,
long contentLength) |
Specifies that the request body will be supplied by the given publisher, with the given content length.
|
RequestSpec.Body |
RequestSpec.Body.stream(Action<? super OutputStream> action) |
Specifies the request body by writing to an output stream.
|
RequestSpec.Body |
RequestSpec.Body.streamUnknownLength(Publisher<? extends io.netty.buffer.ByteBuf> publisher) |
Specifies that the request body will be supplied by the given publisher, with an unknown length.
|
RequestSpec.Body |
RequestSpec.Body.text(CharSequence text) |
Specifies the request body as a UTF-8 char sequence.
|
RequestSpec.Body |
RequestSpec.Body.text(CharSequence text,
Charset charset) |
Specifies the request body as a char sequence of the given charset.
|
RequestSpec.Body |
RequestSpec.Body.type(CharSequence contentType) |
Specifies the "Content-Type" of the request.
|