Class RedirectHandler
This handler processes HTTP redirects and reissues the call to the redirected location.
public class RedirectHandler : PipelineHandler, IPipelineHandler
- Inheritance
-
RedirectHandler
- Implements
- Inherited Members
Constructors
RedirectHandler()
public RedirectHandler()
Methods
FinalizeForRedirect(IExecutionContext, string)
protected virtual void FinalizeForRedirect(IExecutionContext executionContext, string redirectedLocation)
Parameters
executionContextIExecutionContextredirectedLocationstring
InvokeAsync<T>(IExecutionContext)
Processes HTTP redirects and reissues the call to the redirected location.
public override Task<T> InvokeAsync<T>(IExecutionContext executionContext) where T : AmazonWebServiceResponse, new()
Parameters
executionContextIExecutionContextThe execution context, it contains the request and response context.
Returns
- Task<T>
A task that represents the asynchronous operation.
Type Parameters
TThe response type for the current request.
InvokeSync(IExecutionContext)
Processes HTTP redirects and reissues the call to the redirected location.
public override void InvokeSync(IExecutionContext executionContext)
Parameters
executionContextIExecutionContextThe execution context which contains both the requests and response context.