## Uses of Class
org.apache.hc.client5.http.fluent.Request

- Packages that use Request
  Package | Description
  --- | ---
  org.apache.hc.client5.http.fluent | Simple facade APIs for HttpClient based on the concept of a fluent interface.

- - ### Uses of Request in org.apache.hc.client5.http.fluent

    Methods in org.apache.hc.client5.http.fluent that return Request
    Modifier and Type | Method and Description
    --- | ---
    `Request` | Request.`addHeader(org.apache.hc.core5.http.Header header)`
    `Request` | Request.`addHeader(String name, String value)`
    `Request` | Request.`body(org.apache.hc.core5.http.HttpEntity entity)`
    `Request` | Request.`bodyByteArray(byte[] b)`
    `Request` | Request.`bodyByteArray(byte[] b, org.apache.hc.core5.http.ContentType contentType)`
    `Request` | Request.`bodyByteArray(byte[] b, int off, int len)`
    `Request` | Request.`bodyByteArray(byte[] b, int off, int len, org.apache.hc.core5.http.ContentType contentType)`
    `Request` | Request.`bodyFile(File file, org.apache.hc.core5.http.ContentType contentType)`
    `Request` | Request.`bodyForm(Iterable<? extends org.apache.hc.core5.http.NameValuePair> formParams)`
    `Request` | Request.`bodyForm(Iterable<? extends org.apache.hc.core5.http.NameValuePair> formParams, Charset charset)`
    `Request` | Request.`bodyForm(org.apache.hc.core5.http.NameValuePair... formParams)`
    `Request` | Request.`bodyStream(InputStream inStream)`
    `Request` | Request.`bodyStream(InputStream inStream, org.apache.hc.core5.http.ContentType contentType)`
    `Request` | Request.`bodyString(String s, org.apache.hc.core5.http.ContentType contentType)`
    `Request` | Request.`connectTimeout(org.apache.hc.core5.util.Timeout timeout)`
    `static Request` | Request.`create(org.apache.hc.core5.http.Method method, URI uri)`
    `static Request` | Request.`create(String methodName, String uri)`
    `static Request` | Request.`create(String methodName, URI uri)`
    `static Request` | Request.`delete(String uri)`
    `static Request` | Request.`delete(URI uri)`
    `static Request` | Request.`get(String uri)`
    `static Request` | Request.`get(URI uri)`
    `static Request` | Request.`head(String uri)`
    `static Request` | Request.`head(URI uri)`
    `static Request` | Request.`options(String uri)`
    `static Request` | Request.`options(URI uri)`
    `static Request` | Request.`patch(String uri)`
    `static Request` | Request.`patch(URI uri)`
    `static Request` | Request.`post(String uri)`
    `static Request` | Request.`post(URI uri)`
    `static Request` | Request.`put(String uri)`
    `static Request` | Request.`put(URI uri)`
    `Request` | Request.`removeHeader(org.apache.hc.core5.http.Header header)`
    `Request` | Request.`removeHeaders(String name)`
    `Request` | Request.`responseTimeout(org.apache.hc.core5.util.Timeout timeout)`
    `Request` | Request.`setCacheControl(String cacheControl)`
    `Request` | Request.`setDate(Date date)` Deprecated. Use `setDate(Instant)`
    `Request` | Request.`setDate(Instant instant)`
    `Request` | Request.`setHeader(org.apache.hc.core5.http.Header header)`
    `Request` | Request.`setHeader(String name, String value)`
    `Request` | Request.`setHeaders(org.apache.hc.core5.http.Header... headers)`
    `Request` | Request.`setIfModifiedSince(Date date)` Deprecated. Use `setIfModifiedSince(Instant)`
    `Request` | Request.`setIfModifiedSince(Instant instant)`
    `Request` | Request.`setIfUnmodifiedSince(Date date)` Deprecated. Use `setIfUnmodifiedSince(Instant)`
    `Request` | Request.`setIfUnmodifiedSince(Instant instant)`
    `static Request` | Request.`trace(String uri)`
    `static Request` | Request.`trace(URI uri)`
    `Request` | Request.`useExpectContinue()`
    `Request` | Request.`userAgent(String agent)`
    `Request` | Request.`version(org.apache.hc.core5.http.HttpVersion version)`
    `Request` | Request.`viaProxy(org.apache.hc.core5.http.HttpHost proxy)`
    `Request` | Request.`viaProxy(String proxy)`

    Methods in org.apache.hc.client5.http.fluent with parameters of type Request
    Modifier and Type | Method and Description
    --- | ---
    `Response` | Executor.`execute(Request request)` Executes the request.
    `Future<Content>` | Async.`execute(Request request)`
    `Future<Content>` | Async.`execute(Request request, org.apache.hc.core5.concurrent.FutureCallback<Content> callback)`
    `<T> Future<T>` | Async.`execute(Request request, org.apache.hc.core5.http.io.HttpClientResponseHandler<T> handler)`
    `<T> Future<T>` | Async.`execute(Request request, org.apache.hc.core5.http.io.HttpClientResponseHandler<T> handler, org.apache.hc.core5.concurrent.FutureCallback<T> callback)`

Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.