Class ServiceHttpClientFactory

java.lang.Object
io.micronaut.http.client.ServiceHttpClientFactory

@Factory @Internal public class ServiceHttpClientFactory extends Object
Creates HttpClient instances for each defined ServiceHttpClientConfiguration.
Since:
1.0
Author:
graemerocher
  • Constructor Details

    • ServiceHttpClientFactory

      public ServiceHttpClientFactory(TaskScheduler taskScheduler, BeanProvider<HttpClientRegistry<?>> clientFactory)
      Default constructor.
      Parameters:
      taskScheduler - The task scheduler
      clientFactory - The client factory