public class MetricUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ASSERTION_FAILED |
Modifier and Type | Method and Description |
---|---|
static boolean |
isSuccessCode(int code) |
static boolean |
isSuccessCode(String codeAsString)
Determine if the HTTP status code is successful or not i.e.
|
public static final String ASSERTION_FAILED
public static boolean isSuccessCode(String codeAsString)
codeAsString
- status code to checkpublic static boolean isSuccessCode(int code)
code
- Response codeCopyright © 1998-2019 Apache Software Foundation. All Rights Reserved.