Class StatusCodes

    • Method Detail

      • status2xx

        public final Integer status2xx()

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

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

        public final Integer status3xx()

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

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

        public final Integer status4xx()

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

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

        public final Integer status5xx()

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

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

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)