Uses of Interface
io.avaje.http.client.HttpClientRequest
-
Uses of HttpClientRequest in io.avaje.http.client
Methods in io.avaje.http.client that return HttpClientRequestModifier and TypeMethodDescriptionHttpClientRequest.body(byte[] body)
Set the body content as a bytes.HttpClientRequest.body(BodyContent bodyContent)
Set encoded body content.Set the body as a bean using the default content type.Set the body as a bean with the given content type using a BodyWriter.Set the body content as a string.HttpClientRequest.body(HttpRequest.BodyPublisher body)
Set the body content using http BodyPublisher.Set the body content with supplied InputStream.HttpClientRequest.body(Supplier<? extends InputStream> supplier)
Set the body content with supplied InputStream.Add a form parameter.HttpClientRequest.gzip(boolean gzip)
Set if body content should be gzip encoded.Add the header to the request.HttpClientRequest.matrixParam(String name, String value)
Add a matrix parameter to the current path segment.Add a path segment to the URL.HttpClientRequest.queryParam(String name, String value)
Add a query parameterHttpClientContext.request()
Create a new request.HttpClientRequest.requestTimeout(Duration requestTimeout)
Set the request timeout to use for this request.