Interface ProxyHttpClientFactory

All Known Implementing Classes:
NettyHttpClientFactory

public interface ProxyHttpClientFactory
A factory to create Proxy HTTP clients.
Since:
3.0.0
Author:
James Kleeh, Sergio del Amo
  • Method Details

    • createProxyClient

      @NonNull ProxyHttpClient createProxyClient(@Nullable URL url)
      Create a new ProxyHttpClient. Note that this method should only be used outside the context of an application. Within Micronaut use Inject to inject a client instead
      Parameters:
      url - The base URL
      Returns:
      The client
    • createProxyClient

      @NonNull ProxyHttpClient createProxyClient(@Nullable URL url, @NonNull HttpClientConfiguration configuration)
      Create a new ProxyHttpClient with the specified configuration. Note that this method should only be used outside the context of an application. Within Micronaut use Inject to inject a client instead
      Parameters:
      url - The base URL
      configuration - the client configuration
      Returns:
      The client
      Since:
      2.2.0