public final class HttpAsyncClients extends Object
CloseableHttpAsyncClient
instances.Modifier and Type | Method and Description |
---|---|
static CloseableHttpAsyncClient |
createDefault()
Creates
CloseableHttpAsyncClient instance with default configuration. |
static CloseableHttpAsyncClient |
createHttp2Default()
Creates HTTP/2
CloseableHttpAsyncClient instance with default configuration
optimized for HTTP/2 protocol and message multiplexing. |
static MinimalH2AsyncClient |
createHttp2Minimal()
Creates
MinimalH2AsyncClient instance optimized for HTTP/2 multiplexing message
transport without advanced HTTP protocol functionality. |
static MinimalH2AsyncClient |
createHttp2Minimal(H2Config h2Config)
Creates
MinimalH2AsyncClient instance optimized for HTTP/2 multiplexing message
transport without advanced HTTP protocol functionality. |
static MinimalH2AsyncClient |
createHttp2Minimal(H2Config h2Config,
IOReactorConfig ioReactorConfig)
Creates
MinimalH2AsyncClient instance optimized for HTTP/2 multiplexing message
transport without advanced HTTP protocol functionality. |
static MinimalH2AsyncClient |
createHttp2Minimal(H2Config h2Config,
IOReactorConfig ioReactorConfig,
DnsResolver dnsResolver,
TlsStrategy tlsStrategy)
Creates
MinimalH2AsyncClient instance optimized for HTTP/2 multiplexing message
transport without advanced HTTP protocol functionality. |
static MinimalH2AsyncClient |
createHttp2Minimal(H2Config h2Config,
IOReactorConfig ioReactorConfig,
TlsStrategy tlsStrategy)
Creates
MinimalH2AsyncClient instance optimized for HTTP/2 multiplexing message
transport without advanced HTTP protocol functionality. |
static CloseableHttpAsyncClient |
createHttp2System()
Creates HTTP/2
CloseableHttpAsyncClient instance with default configuration and
system properties optimized for HTTP/2 protocol and message multiplexing. |
static MinimalHttpAsyncClient |
createMinimal()
Creates
MinimalHttpAsyncClient instance optimized for
HTTP/1.1 and HTTP/2 message transport without advanced HTTP protocol
functionality. |
static MinimalHttpAsyncClient |
createMinimal(AsyncClientConnectionManager connManager)
Creates
MinimalHttpAsyncClient instance optimized for
HTTP/1.1 and HTTP/2 message transport without advanced HTTP protocol
functionality. |
static MinimalHttpAsyncClient |
createMinimal(H2Config h2Config,
Http1Config h1Config)
Creates
MinimalHttpAsyncClient instance optimized for
HTTP/1.1 and HTTP/2 message transport without advanced HTTP protocol
functionality. |
static MinimalHttpAsyncClient |
createMinimal(HttpVersionPolicy versionPolicy,
H2Config h2Config,
Http1Config h1Config,
IOReactorConfig ioReactorConfig)
Creates
MinimalHttpAsyncClient instance optimized for
HTTP/1.1 and HTTP/2 message transport without advanced HTTP protocol
functionality. |
static MinimalHttpAsyncClient |
createMinimal(HttpVersionPolicy versionPolicy,
H2Config h2Config,
Http1Config h1Config,
IOReactorConfig ioReactorConfig,
AsyncClientConnectionManager connmgr)
Creates
MinimalHttpAsyncClient instance optimized for
HTTP/1.1 and HTTP/2 message transport without advanced HTTP protocol
functionality. |
static CloseableHttpAsyncClient |
createSystem()
Creates
CloseableHttpAsyncClient instance with default
configuration and system properties. |
static HttpAsyncClientBuilder |
custom()
Creates builder object for construction of custom
CloseableHttpAsyncClient instances. |
static H2AsyncClientBuilder |
customHttp2()
Creates builder object for construction of custom HTTP/2
CloseableHttpAsyncClient instances optimized for HTTP/2 protocol
and message multiplexing |
public static CloseableHttpAsyncClient createDefault()
CloseableHttpAsyncClient
instance with default configuration.public static CloseableHttpAsyncClient createHttp2Default()
CloseableHttpAsyncClient
instance with default configuration
optimized for HTTP/2 protocol and message multiplexing.public static MinimalH2AsyncClient createHttp2Minimal()
MinimalH2AsyncClient
instance optimized for HTTP/2 multiplexing message
transport without advanced HTTP protocol functionality.public static MinimalH2AsyncClient createHttp2Minimal(H2Config h2Config)
MinimalH2AsyncClient
instance optimized for HTTP/2 multiplexing message
transport without advanced HTTP protocol functionality.public static MinimalH2AsyncClient createHttp2Minimal(H2Config h2Config, IOReactorConfig ioReactorConfig)
MinimalH2AsyncClient
instance optimized for HTTP/2 multiplexing message
transport without advanced HTTP protocol functionality.public static MinimalH2AsyncClient createHttp2Minimal(H2Config h2Config, IOReactorConfig ioReactorConfig, DnsResolver dnsResolver, TlsStrategy tlsStrategy)
MinimalH2AsyncClient
instance optimized for HTTP/2 multiplexing message
transport without advanced HTTP protocol functionality.public static MinimalH2AsyncClient createHttp2Minimal(H2Config h2Config, IOReactorConfig ioReactorConfig, TlsStrategy tlsStrategy)
MinimalH2AsyncClient
instance optimized for HTTP/2 multiplexing message
transport without advanced HTTP protocol functionality.public static CloseableHttpAsyncClient createHttp2System()
CloseableHttpAsyncClient
instance with default configuration and
system properties optimized for HTTP/2 protocol and message multiplexing.public static MinimalHttpAsyncClient createMinimal()
MinimalHttpAsyncClient
instance optimized for
HTTP/1.1 and HTTP/2 message transport without advanced HTTP protocol
functionality.public static MinimalHttpAsyncClient createMinimal(AsyncClientConnectionManager connManager)
MinimalHttpAsyncClient
instance optimized for
HTTP/1.1 and HTTP/2 message transport without advanced HTTP protocol
functionality.public static MinimalHttpAsyncClient createMinimal(H2Config h2Config, Http1Config h1Config)
MinimalHttpAsyncClient
instance optimized for
HTTP/1.1 and HTTP/2 message transport without advanced HTTP protocol
functionality.public static MinimalHttpAsyncClient createMinimal(HttpVersionPolicy versionPolicy, H2Config h2Config, Http1Config h1Config, IOReactorConfig ioReactorConfig)
MinimalHttpAsyncClient
instance optimized for
HTTP/1.1 and HTTP/2 message transport without advanced HTTP protocol
functionality.public static MinimalHttpAsyncClient createMinimal(HttpVersionPolicy versionPolicy, H2Config h2Config, Http1Config h1Config, IOReactorConfig ioReactorConfig, AsyncClientConnectionManager connmgr)
MinimalHttpAsyncClient
instance optimized for
HTTP/1.1 and HTTP/2 message transport without advanced HTTP protocol
functionality.public static CloseableHttpAsyncClient createSystem()
CloseableHttpAsyncClient
instance with default
configuration and system properties.public static HttpAsyncClientBuilder custom()
CloseableHttpAsyncClient
instances.public static H2AsyncClientBuilder customHttp2()
CloseableHttpAsyncClient
instances optimized for HTTP/2 protocol
and message multiplexing