Package io.micronaut.http.client
Class ServiceHttpClientFactory
java.lang.Object
io.micronaut.http.client.ServiceHttpClientFactory
Creates
HttpClient
instances for each defined ServiceHttpClientConfiguration
.- Since:
- 1.0
- Author:
- graemerocher
-
Constructor Summary
ConstructorDescriptionServiceHttpClientFactory
(TaskScheduler taskScheduler, BeanProvider<HttpClientRegistry<?>> clientFactory) Default constructor. -
Method Summary
-
Constructor Details
-
ServiceHttpClientFactory
public ServiceHttpClientFactory(TaskScheduler taskScheduler, BeanProvider<HttpClientRegistry<?>> clientFactory) Default constructor.- Parameters:
taskScheduler
- The task schedulerclientFactory
- The client factory
-