public final class HttpSettings extends Object
| Constructor and Description |
|---|
HttpSettings() |
| Modifier and Type | Method and Description |
|---|---|
ForwardProxy |
forwardProxy()
Get the forwardProxy property: The configuration settings of a forward proxy used to make the requests.
|
Boolean |
requireHttps()
Get the requireHttps property: <code>false</code> if the authentication/authorization responses not
having the HTTPS scheme are permissible; otherwise, <code>true</code>.
|
HttpSettingsRoutes |
routes()
Get the routes property: The configuration settings of the paths HTTP requests.
|
void |
validate()
Validates the instance.
|
HttpSettings |
withForwardProxy(ForwardProxy forwardProxy)
Set the forwardProxy property: The configuration settings of a forward proxy used to make the requests.
|
HttpSettings |
withRequireHttps(Boolean requireHttps)
Set the requireHttps property: <code>false</code> if the authentication/authorization responses not
having the HTTPS scheme are permissible; otherwise, <code>true</code>.
|
HttpSettings |
withRoutes(HttpSettingsRoutes routes)
Set the routes property: The configuration settings of the paths HTTP requests.
|
public Boolean requireHttps()
public HttpSettings withRequireHttps(Boolean requireHttps)
requireHttps - the requireHttps value to set.public HttpSettingsRoutes routes()
public HttpSettings withRoutes(HttpSettingsRoutes routes)
routes - the routes value to set.public ForwardProxy forwardProxy()
public HttpSettings withForwardProxy(ForwardProxy forwardProxy)
forwardProxy - the forwardProxy value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.