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,
Object value) |
Add a form parameter.
|
HttpClientRequest |
HttpClientRequest.formParam(String name,
String value) |
Add a form parameter.
|
HttpClientRequest |
HttpClientRequest.formParam(Map<String,?> params) |
Add the form parameters via a map.
|
HttpClientRequest |
HttpClientRequest.gzip(boolean gzip) |
Set if body content should be gzip encoded.
|
HttpClientRequest |
HttpClientRequest.header(String name,
Object value) |
Add the header to the request implicitly converting the value to a String.
|
HttpClientRequest |
HttpClientRequest.header(String name,
String value) |
Add the header to the request.
|
HttpClientRequest |
HttpClientRequest.header(Map<String,?> headers) |
Add the headers to the request via map.
|
HttpClientRequest |
HttpClientRequest.headerAddIfAbsent(String name,
Object value) |
Add the header to the request but only if there is no existing value for the given header.
|
HttpClientRequest |
HttpClientRequest.label(String label) |
Set a label for the request.
|
HttpClientRequest |
HttpClientRequest.matrixParam(String name,
Object value) |
Add a matrix parameter to the current path segment.
|
HttpClientRequest |
HttpClientRequest.matrixParam(String name,
String value) |
Add a matrix parameter to the current path segment.
|
HttpClientRequest |
HttpClientRequest.path(int val) |
Add a path segment to the URL.
|
HttpClientRequest |
HttpClientRequest.path(long val) |
Add a path segment to the URL.
|
HttpClientRequest |
HttpClientRequest.path(Object val) |
Add a path segment to the URL.
|
HttpClientRequest |
HttpClientRequest.path(String path) |
Add a path segment to the URL.
|
HttpClientRequest |
HttpClientRequest.queryParam(String name,
Object value) |
Add a query parameter
|
HttpClientRequest |
HttpClientRequest.queryParam(String name,
String value) |
Add a query parameter
|
HttpClientRequest |
HttpClientRequest.queryParam(Map<String,?> params) |
Add a multiple query parameters as name value map.
|
HttpClientRequest |
HttpClientContext.request() |
Create a new request.
|
HttpClientRequest |
HttpClientRequest.requestTimeout(Duration requestTimeout) |
Set the request timeout to use for this request.
|
HttpClientRequest |
HttpClientRequest.setAttribute(String key,
Object value) |
|
HttpClientRequest |
HttpClientRequest.skipAuthToken() |
For this request skip using an Authorization token.
|
HttpClientRequest |
HttpClientRequest.suppressLogging() |
For this request suppress payload logging.
|
HttpClientRequest |
HttpClientRequest.url(String url) |
Set the URL to use replacing the base URL.
|