Interface HttpClientProvider

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface HttpClientProvider
    An interface to be implemented by any azure-core plugin that wishes to provide an alternate HttpClient implementation.
    • Method Detail

      • createInstance

        HttpClient createInstance()
        Creates a new instance of the HttpClient that this HttpClientProvider is configured to create.
        Returns:
        A new HttpClient instance, entirely unrelated to all other instances that were created previously.