Interface RedirectActionConfig.Builder

    • Method Detail

      • protocol

        RedirectActionConfig.Builder protocol​(String protocol)

        The protocol. You can specify HTTP, HTTPS, or #{protocol}. You can redirect HTTP to HTTP, HTTP to HTTPS, and HTTPS to HTTPS. You cannot redirect HTTPS to HTTP.

        Parameters:
        protocol - The protocol. You can specify HTTP, HTTPS, or #{protocol}. You can redirect HTTP to HTTP, HTTP to HTTPS, and HTTPS to HTTPS. You cannot redirect HTTPS to HTTP.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • port

        RedirectActionConfig.Builder port​(String port)

        The port. You can specify a value from 1 to 65535 or #{port}.

        Parameters:
        port - The port. You can specify a value from 1 to 65535 or #{port}.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • host

        RedirectActionConfig.Builder host​(String host)

        The hostname. This component is not percent-encoded. The hostname can contain #{host}.

        Parameters:
        host - The hostname. This component is not percent-encoded. The hostname can contain #{host}.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • path

        RedirectActionConfig.Builder path​(String path)

        The absolute path, starting with the leading "/". This component is not percent-encoded. The path can contain #{host}, #{path}, and #{port}.

        Parameters:
        path - The absolute path, starting with the leading "/". This component is not percent-encoded. The path can contain #{host}, #{path}, and #{port}.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • query

        RedirectActionConfig.Builder query​(String query)

        The query parameters, URL-encoded when necessary, but not percent-encoded. Do not include the leading "?", as it is automatically added. You can specify any of the reserved keywords.

        Parameters:
        query - The query parameters, URL-encoded when necessary, but not percent-encoded. Do not include the leading "?", as it is automatically added. You can specify any of the reserved keywords.
        Returns:
        Returns a reference to this object so that method calls can be chained together.