Package | Description |
---|---|
com.azure.core.http.policy |
Package containing HttpPipelinePolicy interface and its implementations.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultRedirectStrategy
A default implementation of
RedirectStrategy that uses the provided maximum retry attempts,
header name to look up redirect url value for, http methods and a known set of
redirect status response codes (301, 302, 307, 308) to determine if request should be redirected. |
Constructor and Description |
---|
RedirectPolicy(RedirectStrategy redirectStrategy)
Creates
RedirectPolicy with the provided redirectStrategy as RedirectStrategy
to determine if this request should be redirected. |
Copyright © 2021 Microsoft Corporation. All rights reserved.