Class HttpPipelineProvider
- java.lang.Object
-
- com.azure.resourcemanager.resources.fluentcore.utils.HttpPipelineProvider
-
public final class HttpPipelineProvider extends Object
This class provides common patterns on buildingHttpPipeline.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.azure.core.http.HttpPipelinebuildHttpPipeline(com.azure.core.credential.TokenCredential credential, com.azure.core.management.profile.AzureProfile profile)Creates http pipeline with token credential and profilestatic com.azure.core.http.HttpPipelinebuildHttpPipeline(com.azure.core.credential.TokenCredential credential, com.azure.core.management.profile.AzureProfile profile, String[] scopes, com.azure.core.http.policy.HttpLogOptions httpLogOptions, com.azure.core.util.Configuration configuration, com.azure.core.http.policy.RetryPolicy retryPolicy, List<com.azure.core.http.policy.HttpPipelinePolicy> additionalPolicies, com.azure.core.http.HttpClient httpClient)Creates http pipeline with token credential and profile
-
-
-
Method Detail
-
buildHttpPipeline
public static com.azure.core.http.HttpPipeline buildHttpPipeline(com.azure.core.credential.TokenCredential credential, com.azure.core.management.profile.AzureProfile profile)Creates http pipeline with token credential and profile- Parameters:
credential- the token credentialprofile- the profile- Returns:
- the http pipeline
-
buildHttpPipeline
public static com.azure.core.http.HttpPipeline buildHttpPipeline(com.azure.core.credential.TokenCredential credential, com.azure.core.management.profile.AzureProfile profile, String[] scopes, com.azure.core.http.policy.HttpLogOptions httpLogOptions, com.azure.core.util.Configuration configuration, com.azure.core.http.policy.RetryPolicy retryPolicy, List<com.azure.core.http.policy.HttpPipelinePolicy> additionalPolicies, com.azure.core.http.HttpClient httpClient)Creates http pipeline with token credential and profile- Parameters:
credential- the token credentialprofile- the profilescopes- the credential scopeshttpLogOptions- the http log optionsconfiguration- the configuration valueretryPolicy- the retry policyadditionalPolicies- the additional policieshttpClient- the http client- Returns:
- the http pipeline
-
-