HttpClientRequest |
HttpClientRequest.body(byte[] body) |
Set the body content as a bytes.
|
HttpClientRequest |
HttpClientRequest.body(BodyContent bodyContent) |
Set encoded body content.
|
HttpClientRequest |
HttpClientRequest.body(Object bean) |
Set the body as a bean using the default content type.
|
HttpClientRequest |
HttpClientRequest.body(Object bean,
String contentType) |
Set the body as a bean with the given content type using a BodyWriter.
|
HttpClientRequest |
HttpClientRequest.body(String body) |
Set the body content as a string.
|
HttpClientRequest |
HttpClientRequest.body(HttpRequest.BodyPublisher body) |
Set the body content using http BodyPublisher.
|
HttpClientRequest |
HttpClientRequest.body(Path file) |
Set the body content with supplied InputStream.
|
HttpClientRequest |
HttpClientRequest.body(Supplier<? extends InputStream> supplier) |
Set the body content with supplied InputStream.
|
HttpClientRequest |
HttpClientRequest.formParam(String name,
String value) |
Add a form parameter.
|
HttpClientRequest |
HttpClientRequest.gzip(boolean gzip) |
Set if body content should be gzip encoded.
|
HttpClientRequest |
HttpClientRequest.header(String name,
String value) |
Add the header to the request.
|
HttpClientRequest |
HttpClientRequest.matrixParam(String name,
String value) |
Add a matrix parameter to the current path segment.
|
HttpClientRequest |
HttpClientRequest.path(String path) |
Add a path segment to the URL.
|
HttpClientRequest |
HttpClientRequest.queryParam(String name,
String value) |
Add a query parameter
|
HttpClientRequest |
HttpClientContext.request() |
Create a new request.
|
HttpClientRequest |
HttpClientRequest.requestTimeout(Duration requestTimeout) |
Set the request timeout to use for this request.
|