public interface ProxyHttpClientFactory
Modifier and Type | Method and Description |
---|---|
ProxyHttpClient |
createProxyClient(java.net.URL url)
Create a new
ProxyHttpClient . |
ProxyHttpClient |
createProxyClient(java.net.URL url,
HttpClientConfiguration configuration)
Create a new
ProxyHttpClient with the specified configuration. |
@NonNull ProxyHttpClient createProxyClient(@Nullable java.net.URL url)
ProxyHttpClient
. Note that this method should only be used outside of the context of an application. Within Micronaut use
Inject
to inject a client insteadurl
- The base URL@NonNull ProxyHttpClient createProxyClient(@Nullable java.net.URL url, HttpClientConfiguration configuration)
ProxyHttpClient
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 insteadurl
- The base URLconfiguration
- the client configuration