@Internal public class NettyHttpClientFactory extends Object implements HttpClientFactory, SseClientFactory, ProxyHttpClientFactory, StreamingHttpClientFactory, WebSocketClientFactory
| Constructor and Description |
|---|
NettyHttpClientFactory() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateWebSocketClient, createWebSocketClient@NonNull public HttpClient createClient(URL url)
HttpClientFactoryHttpClient. Note that this method should only be used outside of the context of an application. Within Micronaut use
Inject to inject a client insteadcreateClient in interface HttpClientFactoryurl - The base URL@NonNull public HttpClient createClient(URL url, @NonNull HttpClientConfiguration configuration)
HttpClientFactoryHttpClient with the specified configuration. Note that this method should only be used
outside of the context of an application. Within Micronaut use Inject to inject a client insteadcreateClient in interface HttpClientFactoryurl - The base URLconfiguration - the client configuration@NonNull public ProxyHttpClient createProxyClient(URL url)
ProxyHttpClientFactoryProxyHttpClient. Note that this method should only be used outside of the context of an application. Within Micronaut use
Inject to inject a client insteadcreateProxyClient in interface ProxyHttpClientFactoryurl - The base URL@NonNull public ProxyHttpClient createProxyClient(URL url, @NonNull HttpClientConfiguration configuration)
ProxyHttpClientFactoryProxyHttpClient with the specified configuration. Note that this method should only be used
outside of the context of an application. Within Micronaut use Inject to inject a client insteadcreateProxyClient in interface ProxyHttpClientFactoryurl - The base URLconfiguration - the client configuration@NonNull public SseClient createSseClient(@Nullable URL url)
SseClientFactorySseClient. Note that this method should only be used outside of the context of an application. Within Micronaut use
Inject to inject a client insteadcreateSseClient in interface SseClientFactoryurl - The base URL@NonNull public SseClient createSseClient(@Nullable URL url, @NonNull HttpClientConfiguration configuration)
SseClientFactorySseClient with the specified configuration. Note that this method should only be used
outside of the context of an application. Within Micronaut use Inject to inject a client insteadcreateSseClient in interface SseClientFactoryurl - The base URLconfiguration - the client configuration@NonNull public StreamingHttpClient createStreamingClient(URL url)
StreamingHttpClientFactoryStreamingHttpClient. Note that this method should only be used outside of the context of an application. Within Micronaut use
Inject to inject a client insteadcreateStreamingClient in interface StreamingHttpClientFactoryurl - The base URL@NonNull public StreamingHttpClient createStreamingClient(URL url, @NonNull HttpClientConfiguration configuration)
StreamingHttpClientFactoryStreamingHttpClient with the specified configuration. Note that this method should only be used
outside of the context of an application. Within Micronaut use Inject to inject a client insteadcreateStreamingClient in interface StreamingHttpClientFactoryurl - The base URLconfiguration - The client configuration@NonNull public WebSocketClient createWebSocketClient(URI uri)
WebSocketClientFactoryWebSocketClient. Note that this method should only be used outside of the context of an application. Within Micronaut use
Inject to inject a client insteadcreateWebSocketClient in interface WebSocketClientFactoryuri - The base URI@NonNull public WebSocketClient createWebSocketClient(URI uri, @NonNull HttpClientConfiguration configuration)
WebSocketClientFactoryWebSocketClient with the specified configuration. Note that this method should only be used outside of the context of an application. Within Micronaut use
Inject to inject a client insteadcreateWebSocketClient in interface WebSocketClientFactoryuri - The base URIconfiguration - The client configuration