Interface StatusCodes.Builder

    • Method Detail

      • status2xx

        StatusCodes.Builder status2xx​(Integer status2xx)

        The percentage of requests over the last 10 seconds that resulted in a 2xx (200, 201, etc.) status code.

        Parameters:
        status2xx - The percentage of requests over the last 10 seconds that resulted in a 2xx (200, 201, etc.) status code.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status3xx

        StatusCodes.Builder status3xx​(Integer status3xx)

        The percentage of requests over the last 10 seconds that resulted in a 3xx (300, 301, etc.) status code.

        Parameters:
        status3xx - The percentage of requests over the last 10 seconds that resulted in a 3xx (300, 301, etc.) status code.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status4xx

        StatusCodes.Builder status4xx​(Integer status4xx)

        The percentage of requests over the last 10 seconds that resulted in a 4xx (400, 401, etc.) status code.

        Parameters:
        status4xx - The percentage of requests over the last 10 seconds that resulted in a 4xx (400, 401, etc.) status code.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status5xx

        StatusCodes.Builder status5xx​(Integer status5xx)

        The percentage of requests over the last 10 seconds that resulted in a 5xx (500, 501, etc.) status code.

        Parameters:
        status5xx - The percentage of requests over the last 10 seconds that resulted in a 5xx (500, 501, etc.) status code.
        Returns:
        Returns a reference to this object so that method calls can be chained together.