Package | Description |
---|---|
java.net.http |
High level HTTP and WebSocket API
|
Modifier and Type | Method | Description |
---|---|---|
abstract HttpClient.Redirect |
HttpClient.followRedirects() |
Returns the follow-redirects setting for this client.
|
abstract HttpClient.Redirect |
HttpRequest.followRedirects() |
Returns the follow-redirects setting for this request.
|
static HttpClient.Redirect |
HttpClient.Redirect.valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static HttpClient.Redirect[] |
HttpClient.Redirect.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method | Description |
---|---|---|
abstract HttpClient.Builder |
HttpClient.Builder.followRedirects(HttpClient.Redirect policy) |
Specifies whether requests will automatically follow redirects issued
by the server.
|
abstract HttpRequest.Builder |
HttpRequest.Builder.followRedirects(HttpClient.Redirect policy) |
Specifies whether this request will automatically follow redirects
issued by the server.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-Ubuntu+0-9b144-1