HttpStatus,
but defined as an interface to allow for values not in that enumeration.
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public default boolean | Returns: true if the twoHttpStatusCode objects share the same integer value(), false otherwisethe other other)HttpStatusCode to compareWhether this |
| public int | |
| public static HttpStatusCode | Returns: the correspondingHttpStatusCodethe status code as integer code)Return an |
| is1xxInformational | back to summary |
|---|---|
| public boolean is1xxInformational() Whether this status code is in the Informational class (
| |
| is2xxSuccessful | back to summary |
|---|---|
| public boolean is2xxSuccessful() Whether this status code is in the Successful class (
| |
| is3xxRedirection | back to summary |
|---|---|
| public boolean is3xxRedirection() Whether this status code is in the Redirection class (
| |
| is4xxClientError | back to summary |
|---|---|
| public boolean is4xxClientError() Whether this status code is in the Client Error class (
| |
| is5xxServerError | back to summary |
|---|---|
| public boolean is5xxServerError() Whether this status code is in the Server Error class (
| |
| isError | back to summary |
|---|---|
| public boolean isError() Whether this status code is in the Client or Server Error class
| |
| isSameCodeAs | back to summary |
|---|---|
| public default boolean isSameCodeAs(HttpStatusCode other) Whether this Useful for comparisons that take deprecated aliases into account or compare arbitrary implementations
of
| |
| value | back to summary |
|---|---|
| public int value() Return the integer value of this status code. | |
| valueOf | back to summary |
|---|---|
| public static HttpStatusCode valueOf(int code) Return an
| |