public interface HttpStatus
| Modifier and Type | Method and Description |
|---|---|
static HttpStatus |
forCode(int code) |
int |
getCode() |
HttpStatusFamily |
getFamily() |
default boolean |
isClientError() |
default boolean |
isError() |
default boolean |
isInformation() |
default boolean |
isNotFound() |
default boolean |
isRedirect() |
default boolean |
isServerError() |
default boolean |
isSuccess() |
default boolean |
isValid()
Valid status codes are within the range [200,600)
|
int getCode()
HttpStatusFamily getFamily()
static HttpStatus forCode(int code)
default boolean isInformation()
default boolean isSuccess()
default boolean isRedirect()
default boolean isNotFound()
default boolean isError()
default boolean isClientError()
default boolean isServerError()
default boolean isValid()
Copyright © 2020. All rights reserved.