HttpSettings Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. HttpSettings
- com.
Implements
public final class HttpSettings
implements JsonSerializable<HttpSettings>
The configuration settings of the HTTP requests for authentication and authorization requests made against App Service Authentication/Authorization.
Constructor Summary
Constructor | Description |
---|---|
HttpSettings() |
Creates an instance of Http |
Method Summary
Modifier and Type | Method and Description |
---|---|
Forward |
forwardProxy()
Get the forward |
static
Http |
fromJson(JsonReader jsonReader)
Reads an instance of Http |
Boolean |
requireHttps()
Get the require |
Http |
routes()
Get the routes property: The configuration settings of the paths HTTP requests. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Http |
withForwardProxy(ForwardProxy forwardProxy)
Set the forward |
Http |
withRequireHttps(Boolean requireHttps)
Set the require |
Http |
withRoutes(HttpSettingsRoutes routes)
Set the routes property: The configuration settings of the paths HTTP requests. |
Methods inherited from java.lang.Object
Constructor Details
HttpSettings
public HttpSettings()
Creates an instance of HttpSettings class.
Method Details
forwardProxy
public ForwardProxy forwardProxy()
Get the forwardProxy property: The configuration settings of a forward proxy used to make the requests.
Returns:
fromJson
public static HttpSettings fromJson(JsonReader jsonReader)
Reads an instance of HttpSettings from the JsonReader.
Parameters:
Returns:
Throws:
requireHttps
public Boolean requireHttps()
Get the requireHttps property: false
if the authentication/authorization responses not having the HTTPS scheme are permissible; otherwise, true
.
Returns:
routes
public HttpSettingsRoutes routes()
Get the routes property: The configuration settings of the paths HTTP requests.
Returns:
toJson
validate
public void validate()
Validates the instance.
withForwardProxy
public HttpSettings withForwardProxy(ForwardProxy forwardProxy)
Set the forwardProxy property: The configuration settings of a forward proxy used to make the requests.
Parameters:
Returns:
withRequireHttps
public HttpSettings withRequireHttps(Boolean requireHttps)
Set the requireHttps property: false
if the authentication/authorization responses not having the HTTPS scheme are permissible; otherwise, true
.
Parameters:
Returns:
withRoutes
public HttpSettings withRoutes(HttpSettingsRoutes routes)
Set the routes property: The configuration settings of the paths HTTP requests.
Parameters:
Returns:
Applies to
Azure SDK for Java