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 byHttpClientand is designed primarily for testing purposes.Client-related attribute accessors.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 overLoadBalancerlookup.A non-blocking HTTP client interface designed around the Micronaut API and Reactive Streams.Configuration for theHttpClient.Configuration for the HTTP client connnection pool.Options forHttpClientConfiguration.ConnectionPoolConfiguration.connectionLocality.Different pool implementation versions, for compatibility.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 ofHttpClientclients.This class collects information about HTTP client protocol version settings, such as theHttpVersionSelection.PlaintextModeand the ALPN configuration.The connection mode to use for plaintext (non-TLS) connections.Interface to abstract server selection.A resolver ofLoadBalancerinstances 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 ofProxyHttpClientclients.Further options forProxyHttpClientwhen handling proxy requests.Builder class.HTTP client that allows sending "raw" requests with aByteBodyfor the request and response body.Factory for creatingRawHttpClients without an application context.Interface for managing the construction and lifecycle of instances ofRawHttpClientclients.Allows hooking modifying the resulting publisher prior to returning it from the client.Allows defining HTTP client configurations via themicronaut.http.servicessetting.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.CreatesHttpClientinstances for each definedServiceHttpClientConfiguration.Extended version of theHttpClientthat supports streaming responses.A factory to create Streaming HTTP clients.StreamingHttpClientRegistry<S extends StreamingHttpClient>Interface for managing the construction and lifecycle of instances ofStreamingHttpClientclients.