| Package | Description |
|---|---|
| io.helidon.media.jackson.server | |
| io.helidon.media.jsonb.server | |
| io.helidon.media.jsonp.server | |
| io.helidon.security.integration.webserver |
Integration library for RxServer.
|
| io.helidon.webserver |
Reactive web server API.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JacksonSupport.accept(ServerRequest request,
ServerResponse response) |
| Modifier and Type | Method and Description |
|---|---|
static JacksonSupport |
JacksonSupport.create(BiFunction<? super ServerRequest,? super ServerResponse,? extends ObjectMapper> objectMapperProvider)
Creates a new
JacksonSupport. |
| Modifier and Type | Method and Description |
|---|---|
void |
JsonBindingSupport.accept(ServerRequest request,
ServerResponse response) |
| Modifier and Type | Method and Description |
|---|---|
static JsonBindingSupport |
JsonBindingSupport.create(BiFunction<? super ServerRequest,? super ServerResponse,? extends Jsonb> jsonbProvider)
Creates a new
JsonBindingSupport. |
| Modifier and Type | Method and Description |
|---|---|
void |
JsonSupport.accept(ServerRequest request,
ServerResponse response)
It registers reader and writer for
JsonSupport on ServerRequest/ServerResponse on provided
routing criteria. |
| Modifier and Type | Method and Description |
|---|---|
void |
SecurityHandler.accept(ServerRequest req,
ServerResponse res) |
| Modifier and Type | Method and Description |
|---|---|
ServerResponse |
ServerResponse.registerFilter(Function<Flow.Publisher<DataChunk>,Flow.Publisher<DataChunk>> function)
Registers a provider of the new response content publisher - typically a filter.
|
<T> ServerResponse |
ServerResponse.registerWriter(Class<T> type,
MediaType contentType,
Function<? extends T,Flow.Publisher<DataChunk>> function)
Registers a content writer for a given type and media type.
|
<T> ServerResponse |
ServerResponse.registerWriter(Class<T> type,
Function<T,Flow.Publisher<DataChunk>> function)
Registers a content writer for a given type.
|
<T> ServerResponse |
ServerResponse.registerWriter(Predicate<?> accept,
MediaType contentType,
Function<T,Flow.Publisher<DataChunk>> function)
Registers a content writer for all accepted contents.
|
<T> ServerResponse |
ServerResponse.registerWriter(Predicate<?> accept,
Function<T,Flow.Publisher<DataChunk>> function)
Registers a content writer for all accepted contents.
|
default ServerResponse |
ServerResponse.status(int statusCode)
Sets new HTTP status code.
|
ServerResponse |
ServerResponse.status(Http.ResponseStatus status)
Sets new HTTP status.
|
| Modifier and Type | Method and Description |
|---|---|
CompletionStage<ServerResponse> |
ServerResponse.send()
Sends an empty response.
|
CompletionStage<ServerResponse> |
ServerResponse.send(Flow.Publisher<DataChunk> content)
Send a message as is without any other marshalling.
|
<T> CompletionStage<ServerResponse> |
ServerResponse.send(T content)
Send a message and close the response.
|
CompletionStage<ServerResponse> |
ServerResponse.whenSent()
Completion stage is completed when response is completed.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ErrorHandler.accept(ServerRequest req,
ServerResponse res,
T ex)
Error handling consumer.
|
void |
Handler.accept(ServerRequest req,
ServerResponse res)
|
void |
Handler.EntityHandler.accept(ServerRequest req,
ServerResponse res,
T entity)
|
void |
RequestPredicate.ConditionalHandler.accept(ServerRequest req,
ServerResponse res) |
Copyright © 2018–2019 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.