| Modifier and Type | Class | Description |
|---|---|---|
static class |
Http.Status |
Commonly used status codes defined by HTTP, see
HTTP/1.1 documentation
for the complete list.
|
| Modifier and Type | Method | Description |
|---|---|---|
static Http.ResponseStatus |
Http.ResponseStatus.from(int statusCode) |
Convert a numerical status code into the corresponding ResponseStatus.
|
static Http.ResponseStatus |
Http.ResponseStatus.from(int statusCode,
java.lang.String reasonPhrase) |
Convert a numerical status code into the corresponding ResponseStatus.
|
Copyright © 2018 Oracle Corporation. All rights reserved.