HttpPipelineProvider Class

  • java.lang.Object
    • com.azure.resourcemanager.resources.fluentcore.utils.HttpPipelineProvider

public final class HttpPipelineProvider

This class provides common patterns on building HttpPipeline.

Method Summary

Methods inherited from java.lang.Object

Method Details

buildHttpPipeline

public static HttpPipeline buildHttpPipeline(TokenCredential credential, AzureProfile profile)

Creates http pipeline with token credential and profile

Parameters:

credential - the token credential
profile - the profile

Returns:

the http pipeline

buildHttpPipeline

public static HttpPipeline buildHttpPipeline(TokenCredential credential, AzureProfile profile, String[] scopes, HttpLogOptions httpLogOptions, Configuration configuration, RetryPolicy retryPolicy, List additionalPolicies, HttpClient httpClient)

Creates http pipeline with token credential and profile

Parameters:

credential - the token credential
profile - the profile
scopes - the credential scopes
httpLogOptions - the http log options
configuration - the configuration value
retryPolicy - the retry policy
additionalPolicies - the additional policies
httpClient - the http client

Returns:

the http pipeline

Applies to

Azure SDK for Java

Latest