Uses of Class
org.apache.hc.client5.http.fluent.Request
Packages that use Request
Package
Description
Simple facade APIs for HttpClient based on the concept of
a fluent interface.
-
Uses of Request in org.apache.hc.client5.http.fluent
Fields in org.apache.hc.client5.http.fluent declared as RequestMethods in org.apache.hc.client5.http.fluent that return RequestModifier and TypeMethodDescriptionRequest.addHeader
(org.apache.hc.core5.http.Header header) Request.body
(org.apache.hc.core5.http.HttpEntity entity) Request.bodyByteArray
(byte[] b) Request.bodyByteArray
(byte[] b, int off, int len) Request.bodyByteArray
(byte[] b, int off, int len, org.apache.hc.core5.http.ContentType contentType) Request.bodyByteArray
(byte[] b, org.apache.hc.core5.http.ContentType contentType) Request.bodyForm
(Iterable<? extends org.apache.hc.core5.http.NameValuePair> formParams, Charset charset) Request.bodyForm
(org.apache.hc.core5.http.NameValuePair... formParams) Request.bodyStream
(InputStream inStream) Request.bodyStream
(InputStream inStream, org.apache.hc.core5.http.ContentType contentType) Request.bodyString
(String s, org.apache.hc.core5.http.ContentType contentType) Request.connectTimeout
(org.apache.hc.core5.util.Timeout timeout) static Request
static Request
static Request
static Request
static Request
static Request
static Request
static Request
static Request
static Request
static Request
static Request
static Request
static Request
static Request
static Request
static Request
Request.removeHeader
(org.apache.hc.core5.http.Header header) Request.removeHeaders
(String name) Request.responseTimeout
(org.apache.hc.core5.util.Timeout timeout) Request.setCacheControl
(String cacheControl) Deprecated.Request.setHeader
(org.apache.hc.core5.http.Header header) Request.setHeaders
(org.apache.hc.core5.http.Header... headers) Request.setIfModifiedSince
(Instant instant) Request.setIfModifiedSince
(Date date) Deprecated.Request.setIfUnmodifiedSince
(Instant instant) Request.setIfUnmodifiedSince
(Date date) Deprecated.static Request
static Request
Request.useExpectContinue()
Request.version
(org.apache.hc.core5.http.HttpVersion version) Request.viaProxy
(org.apache.hc.core5.http.HttpHost proxy) Methods in org.apache.hc.client5.http.fluent with parameters of type RequestModifier and TypeMethodDescription<T> Future
<T> <T> Future
<T> Async.execute
(Request request, org.apache.hc.core5.http.io.HttpClientResponseHandler<T> handler, org.apache.hc.core5.concurrent.FutureCallback<T> callback) Executes the request.Constructors in org.apache.hc.client5.http.fluent with parameters of type RequestModifierConstructorDescription(package private)
ExecRunnable
(org.apache.hc.core5.concurrent.BasicFuture<T> future, Request request, Executor executor, org.apache.hc.core5.http.io.HttpClientResponseHandler<T> handler)
setDate(Instant)