Package io.sentry

Class HttpStatusCodeRange


public final class HttpStatusCodeRange extends Object
The Http status code range. Example for a range: 400 to 499, 500 to 599, 400 to 599 The range is inclusive so the min and max is considered part of the range.

Example for a single status code 400, 500

  • Field Details

  • Constructor Details

    • HttpStatusCodeRange

      public HttpStatusCodeRange(int min, int max)
    • HttpStatusCodeRange

      public HttpStatusCodeRange(int statusCode)
  • Method Details

    • isInRange

      public boolean isInRange(int statusCode)