setRedirectsPolicy

Sets the redirect-handling policy for HTTP requests.

Parameters

policy

the RedirectPolicy to apply.