Uses of Enum Class
java.net.http.HttpClient.Redirect
Packages that use HttpClient.Redirect
-
Uses of HttpClient.Redirect in java.net.http
Methods in java.net.http that return HttpClient.RedirectModifier and TypeMethodDescriptionabstract HttpClient.Redirect
HttpClient.followRedirects()
Returns the follow redirects policy for this client.static HttpClient.Redirect
Returns the enum constant of this class with the specified name.static HttpClient.Redirect[]
HttpClient.Redirect.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in java.net.http with parameters of type HttpClient.RedirectModifier and TypeMethodDescriptionHttpClient.Builder.followRedirects(HttpClient.Redirect policy)
Specifies whether requests will automatically follow redirects issued by the server.