Package io.micronaut.http.client
@Configuration
@Requires(beans=HttpClientRegistry.class)
package io.micronaut.http.client
Core HTTP Client Library.
-
ClassDescriptionAbstractHttpClientFactory<T extends HttpClient>Abstract class implementation of
HttpClientFactory
.A blocking HTTP client interface that features a subset of the operations provided byHttpClient
and is designed primarily for testing purposes.The default configuration if no explicit configuration is specified for an HTTP client.The default connection pool configuration.The default HTTP/2 configuration.The default WebSocket compression configuration.Abstraction overLoadBalancer
lookup.A non-blocking HTTP client interface designed around the Micronaut API and Reactive Streams.Configuration for theHttpClient
.Configuration for the HTTP client connnection pool.The DNS resolution mode.HTTP/2-specific client configuration.Configuration for WebSocket client compression extensions.A factory to create HTTP clients.HttpClientRegistry<T extends HttpClient>Interface for managing the construction and lifecycle of instances ofHttpClient
clients.This class collects information about HTTP client protocol version settings, such as theHttpVersionSelection.PlaintextMode
and the ALPN configuration.The connection mode to use for plaintext (non-TLS) connections.Interface to abstract server selection.A resolver ofLoadBalancer
instances that are capable of resolving references to services into a concrete loadbalance.Interface that allows proxying of HTTP requests in controllers and filters.A factory to create Proxy HTTP clients.ProxyHttpClientRegistry<P extends ProxyHttpClient>Interface for managing the construction and lifecycle of instances ofProxyHttpClient
clients.Further options forProxyHttpClient
when handling proxy requests.Builder class.HTTP client that allows sending "raw" requests with aByteBody
for the request and response body.Factory for creatingRawHttpClient
s without an application context.Interface for managing the construction and lifecycle of instances ofRawHttpClient
clients.Allows hooking modifying the resulting publisher prior to returning it from the client.Allows defining HTTP client configurations via themicronaut.http.services
setting.The default connection pool configuration.The service HTTP/2 configuration.The default connection pool configuration.The defaultSslConfiguration.KeyConfiguration
.The defaultSslConfiguration.KeyStoreConfiguration
.The defaultSslConfiguration.TrustStoreConfiguration
.The default WebSocket compression configuration.CreatesHttpClient
instances for each definedServiceHttpClientConfiguration
.Extended version of theHttpClient
that supports streaming responses.A factory to create Streaming HTTP clients.StreamingHttpClientRegistry<S extends StreamingHttpClient>Interface for managing the construction and lifecycle of instances ofStreamingHttpClient
clients.