| Modifier and Type | Method and Description |
|---|---|
static Http.Status |
Http.Status.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Http.Status[] |
Http.Status.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static java.util.Optional<Http.Status> |
Http.Status.of(int statusCode)
Convert a numerical status code into the corresponding
Status enum value. |
Copyright © 2018 Oracle Corporation. All rights reserved.