Class HttpSettings


  • public final class HttpSettings
    extends Object
    The configuration settings of the HTTP requests for authentication and authorization requests made against ContainerApp Service Authentication/Authorization.
    • Constructor Detail

      • HttpSettings

        public HttpSettings()
    • Method Detail

      • requireHttps

        public 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>.
        Returns:
        the requireHttps value.
      • withRequireHttps

        public 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>.
        Parameters:
        requireHttps - the requireHttps value to set.
        Returns:
        the HttpSettings object itself.
      • routes

        public HttpSettingsRoutes routes()
        Get the routes property: The configuration settings of the paths HTTP requests.
        Returns:
        the routes value.
      • withRoutes

        public HttpSettings withRoutes​(HttpSettingsRoutes routes)
        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

        public ForwardProxy forwardProxy()
        Get the forwardProxy property: The configuration settings of a forward proxy used to make the requests.
        Returns:
        the forwardProxy value.
      • withForwardProxy

        public HttpSettings withForwardProxy​(ForwardProxy forwardProxy)
        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.