| Package | Description |
|---|---|
| com.networknt.status |
| Modifier and Type | Method and Description |
|---|---|
static HttpStatus |
HttpStatus.resolve(int statusCode) |
static HttpStatus |
HttpStatus.valueOf(int statusCode)
Return the enum constant of this type with the specified numeric value.
|
static HttpStatus |
HttpStatus.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpStatus[] |
HttpStatus.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static HttpStatus.Series |
HttpStatus.Series.valueOf(HttpStatus status)
Return the enum constant of this type with the corresponding series.
|
| Constructor and Description |
|---|
Status(HttpStatus httpStatus,
String message,
String description)
Construct a status object based on all the properties in the object.
|
Copyright © 2022. All rights reserved.