Package | Description |
---|---|
org.apache.hc.client5.http.fluent |
Simple facade APIs for HttpClient based on the concept of
a fluent interface.
|
org.apache.hc.client5.http.impl.cache |
Caching API implementation for both the classic and
the asynchronous HTTP transports.
|
org.apache.hc.client5.http.impl.classic |
Classic HTTP client API implementation that supports HTTP/1.1 transport
only.
|
Modifier and Type | Method and Description |
---|---|
Response |
Request.execute(CloseableHttpClient client) |
static Executor |
Executor.newInstance(CloseableHttpClient httpclient) |
Modifier and Type | Method and Description |
---|---|
static CloseableHttpClient |
CachingHttpClients.createFileBound(File cacheDir)
Creates
CloseableHttpClient instance that uses a file system
bound response cache. |
static CloseableHttpClient |
CachingHttpClients.createMemoryBound()
Creates
CloseableHttpClient instance that uses a memory bound
response cache. |
Modifier and Type | Class and Description |
---|---|
class |
MinimalHttpClient
Minimal implementation of
CloseableHttpClient . |
Modifier and Type | Method and Description |
---|---|
CloseableHttpClient |
HttpClientBuilder.build() |
static CloseableHttpClient |
HttpClients.createDefault()
Creates
CloseableHttpClient instance with default
configuration. |
static CloseableHttpClient |
HttpClients.createSystem()
Creates
CloseableHttpClient instance with default
configuration based on system properties. |
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.