| Package | Description |
|---|---|
| io.helidon.common.http |
HTTP APIs and implementations usable by both server and client side of the HTTP story.
|
| io.helidon.webserver |
Reactive web server API.
|
| Modifier and Type | Class and 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 and Description |
|---|---|
static Http.ResponseStatus |
Http.ResponseStatus.create(int statusCode)
Convert a numerical status code into the corresponding ResponseStatus.
|
static Http.ResponseStatus |
Http.ResponseStatus.create(int statusCode,
String reasonPhrase)
Convert a numerical status code into the corresponding ResponseStatus.
|
| Modifier and Type | Method and Description |
|---|---|
Http.ResponseStatus |
HttpException.status()
Obtain the associated http status.
|
Http.ResponseStatus |
ServerResponse.status()
Returns actual response status code.
|
| Modifier and Type | Method and Description |
|---|---|
ServerResponse |
ServerResponse.status(Http.ResponseStatus status)
Sets new HTTP status.
|
void |
BareResponse.writeStatusAndHeaders(Http.ResponseStatus status,
Map<String,List<String>> headers)
Send response line and headers to the client.
|
| Constructor and Description |
|---|
HttpException(String message,
Http.ResponseStatus status)
Creates
HttpException. |
HttpException(String message,
Http.ResponseStatus status,
Throwable cause)
Creates
HttpException. |
Copyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.