Class LazyHttpClientFactory
- java.lang.Object
-
- com.github.tomakehurst.wiremock.http.client.LazyHttpClientFactory
-
- All Implemented Interfaces:
Extension,HttpClientFactory
public class LazyHttpClientFactory extends java.lang.Object implements HttpClientFactory
-
-
Constructor Summary
Constructors Constructor Description LazyHttpClientFactory(java.util.function.Supplier<HttpClientFactory> httpClientFactorySupplier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpClientbuildHttpClient(Options options, boolean trustAllCertificates, java.util.List<java.lang.String> trustedHosts, boolean useSystemProperties)java.lang.StringgetName()
-
-
-
Constructor Detail
-
LazyHttpClientFactory
public LazyHttpClientFactory(java.util.function.Supplier<HttpClientFactory> httpClientFactorySupplier)
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceExtension- Specified by:
getNamein interfaceHttpClientFactory
-
buildHttpClient
public HttpClient buildHttpClient(Options options, boolean trustAllCertificates, java.util.List<java.lang.String> trustedHosts, boolean useSystemProperties)
- Specified by:
buildHttpClientin interfaceHttpClientFactory
-
-