HttpClientProvider Interface
public interface HttpClientProvider
An interface to be implemented by any azure-core plugin that wishes to provide an alternate HttpClient implementation.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
Http |
createInstance()
Creates a new instance of the HttpClient that this Http |
default
Http |
createInstance(HttpClientOptions clientOptions)
Creates a new instance of the HttpClient that this Http |
Method Details
createInstance
public abstract HttpClient createInstance()
Creates a new instance of the HttpClient that this HttpClientProvider is configured to create.
Returns:
createInstance
public default HttpClient createInstance(HttpClientOptions clientOptions)
Creates a new instance of the HttpClient that this HttpClientProvider is configured to create.
Parameters:
Returns:
Applies to
Azure SDK for Java