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
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk