Class HttpSettings
java.lang.Object
com.azure.resourcemanager.appcontainers.models.HttpSettings
The configuration settings of the HTTP requests for authentication and authorization requests made against
ContainerApp Service Authentication/Authorization.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the forwardProxy property: The configuration settings of a forward proxy used to make the requests.Get the requireHttps property: <code>false</code> if the authentication/authorization responses not having the HTTPS scheme are permissible; otherwise, <code>true</code>.routes()
Get the routes property: The configuration settings of the paths HTTP requests.void
validate()
Validates the instance.withForwardProxy
(ForwardProxy forwardProxy) Set the forwardProxy property: The configuration settings of a forward proxy used to make the requests.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>.withRoutes
(HttpSettingsRoutes routes) Set the routes property: The configuration settings of the paths HTTP requests.
-
Constructor Details
-
HttpSettings
public HttpSettings()Creates an instance of HttpSettings class.
-
-
Method Details
-
requireHttps
Get the requireHttps property: <code>false</code> if the authentication/authorization responses not having the HTTPS scheme are permissible; otherwise, <code>true</code>.- Returns:
- the requireHttps value.
-
withRequireHttps
Set the requireHttps property: <code>false</code> if the authentication/authorization responses not having the HTTPS scheme are permissible; otherwise, <code>true</code>.- Parameters:
requireHttps
- the requireHttps value to set.- Returns:
- the HttpSettings object itself.
-
routes
Get the routes property: The configuration settings of the paths HTTP requests.- Returns:
- the routes value.
-
withRoutes
Set the routes property: The configuration settings of the paths HTTP requests.- Parameters:
routes
- the routes value to set.- Returns:
- the HttpSettings object itself.
-
forwardProxy
Get the forwardProxy property: The configuration settings of a forward proxy used to make the requests.- Returns:
- the forwardProxy value.
-
withForwardProxy
Set the forwardProxy property: The configuration settings of a forward proxy used to make the requests.- Parameters:
forwardProxy
- the forwardProxy value to set.- Returns:
- the HttpSettings object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-