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
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour