| Modifier and Type | Field and Description |
|---|---|
| public static final HttpStatusClass | CLIENT_ERROR
The client error class (4xx) |
| private final AsciiString | |
| public static final HttpStatusClass | INFORMATIONAL
The informational class (1xx) |
| private final int | |
| private final int | |
| public static final HttpStatusClass | REDIRECTION
The redirection class (3xx) |
| public static final HttpStatusClass | SERVER_ERROR
The server error class (5xx) |
| private static final HttpStatusClass[] | |
| public static final HttpStatusClass | SUCCESS
The success class (2xx) |
| public static final HttpStatusClass | UNKNOWN
The unknown class |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| pack-priv AsciiString | |
| private static int | |
| private static int | |
| private static boolean | |
| public static HttpStatusClass | |
| public static HttpStatusClass | |
| public static HttpStatusClass | valueOf(CharSequence
Just the numeric portion of the http status code. code)Returns the class of the specified HTTP status code. |
| public static HttpStatusClass[] |
| CLIENT_ERROR | back to summary |
|---|---|
| public static final HttpStatusClass CLIENT_ERROR The client error class (4xx) | |
| defaultReasonPhrase | back to summary |
|---|---|
| private final AsciiString defaultReasonPhrase | |
| INFORMATIONAL | back to summary |
|---|---|
| public static final HttpStatusClass INFORMATIONAL The informational class (1xx) | |
| max | back to summary |
|---|---|
| private final int max | |
| min | back to summary |
|---|---|
| private final int min | |
| REDIRECTION | back to summary |
|---|---|
| public static final HttpStatusClass REDIRECTION The redirection class (3xx) | |
| SERVER_ERROR | back to summary |
|---|---|
| public static final HttpStatusClass SERVER_ERROR The server error class (5xx) | |
| statusArray | back to summary |
|---|---|
| private static final HttpStatusClass[] statusArray | |
| SUCCESS | back to summary |
|---|---|
| public static final HttpStatusClass SUCCESS The success class (2xx) | |
| UNKNOWN | back to summary |
|---|---|
| public static final HttpStatusClass UNKNOWN The unknown class | |
| HttpStatusClass | back to summary |
|---|---|
| private HttpStatusClass(int min, int max, String defaultReasonPhrase) | |
| contains | back to summary |
|---|---|
| public boolean contains(int code) Returns | |
| defaultReasonPhrase | back to summary |
|---|---|
| pack-priv AsciiString defaultReasonPhrase() Returns the default reason phrase of this HTTP status class. | |
| digit | back to summary |
|---|---|
| private static int digit(char c) | |
| fast_div100 | back to summary |
|---|---|
private static int fast_div100(int dividend)
| |
| isDigit | back to summary |
|---|---|
| private static boolean isDigit(char c) | |
| valueOf | back to summary |
|---|---|
| public static HttpStatusClass valueOf(String name) | |
| valueOf | back to summary |
|---|---|
| public static HttpStatusClass valueOf(int code) Returns the class of the specified HTTP status code. | |
| valueOf | back to summary |
|---|---|
| public static HttpStatusClass valueOf(CharSequence code) Returns the class of the specified HTTP status code.
| |
| values | back to summary |
|---|---|
| public static HttpStatusClass[] values() | |