Package io.sentry
Class HttpStatusCodeRange
java.lang.Object
io.sentry.HttpStatusCodeRange
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 Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
DEFAULT_MIN
public static final int DEFAULT_MIN- See Also:
-
DEFAULT_MAX
public static final int DEFAULT_MAX- See Also:
-
-
Constructor Details
-
HttpStatusCodeRange
public HttpStatusCodeRange(int min, int max) -
HttpStatusCodeRange
public HttpStatusCodeRange(int statusCode)
-
-
Method Details
-
isInRange
public boolean isInRange(int statusCode)
-