Interface FixedResponseActionConfig.Builder

    • Method Detail

      • messageBody

        FixedResponseActionConfig.Builder messageBody​(String messageBody)

        The message.

        Parameters:
        messageBody - The message.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • statusCode

        FixedResponseActionConfig.Builder statusCode​(String statusCode)

        The HTTP response code (2XX, 4XX, or 5XX).

        Parameters:
        statusCode - The HTTP response code (2XX, 4XX, or 5XX).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • contentType

        FixedResponseActionConfig.Builder contentType​(String contentType)

        The content type.

        Valid Values: text/plain | text/css | text/html | application/javascript | application/json

        Parameters:
        contentType - The content type.

        Valid Values: text/plain | text/css | text/html | application/javascript | application/json

        Returns:
        Returns a reference to this object so that method calls can be chained together.