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
Comentários
https://aka.ms/ContentUserFeedback.
Em breve: Ao longo de 2024, eliminaremos os problemas do GitHub como o mecanismo de comentários para conteúdo e o substituiremos por um novo sistema de comentários. Para obter mais informações, consulteEnviar e exibir comentários de