Interface RedirectAllRequestsTo.Builder

    • Method Detail

      • hostName

        RedirectAllRequestsTo.Builder hostName​(String hostName)

        Name of the host where requests are redirected.

        Parameters:
        hostName - Name of the host where requests are redirected.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • protocol

        RedirectAllRequestsTo.Builder protocol​(String protocol)

        Protocol to use when redirecting requests. The default is the protocol that is used in the original request.

        Parameters:
        protocol - Protocol to use when redirecting requests. The default is the protocol that is used in the original request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Protocol, Protocol
      • protocol

        RedirectAllRequestsTo.Builder protocol​(Protocol protocol)

        Protocol to use when redirecting requests. The default is the protocol that is used in the original request.

        Parameters:
        protocol - Protocol to use when redirecting requests. The default is the protocol that is used in the original request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Protocol, Protocol