public interface HttpClientFactory
| Modifier and Type | Method and Description | 
|---|---|
HttpClient | 
createClient(URL url)
Create a new  
HttpClient. | 
HttpClient | 
createClient(URL url,
            HttpClientConfiguration configuration)
Create a new  
HttpClient with the specified configuration. | 
@NonNull HttpClient createClient(@Nullable URL url)
HttpClient. 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 HttpClient createClient(@Nullable URL url, @NonNull HttpClientConfiguration configuration)
HttpClient 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