| 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.
|
| io.helidon.webserver.spi |
WebServer SPI.
|
| 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.
|
| Modifier and Type | Method | Description |
|---|---|---|
Http.ResponseStatus |
HttpException.status() |
Obtain the associated http status.
|
Http.ResponseStatus |
ServerResponse.status() |
Returns actual response status code.
|
| Modifier and Type | Method | Description |
|---|---|---|
ServerResponse |
ServerResponse.status(Http.ResponseStatus status) |
Sets new HTTP status.
|
| Constructor | Description |
|---|---|
HttpException(java.lang.String message,
Http.ResponseStatus status) |
Creates
HttpException. |
HttpException(java.lang.String message,
Http.ResponseStatus status,
java.lang.Throwable cause) |
Creates
HttpException. |
| Modifier and Type | Method | Description |
|---|---|---|
void |
BareResponse.writeStatusAndHeaders(Http.ResponseStatus status,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers) |
Send response line and headers to the client.
|
Copyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.