| Package | Description |
|---|---|
| io.helidon.webserver |
Reactive web server API.
|
| io.helidon.webserver.spi |
WebServer SPI.
|
| Modifier and Type | Method | Description |
|---|---|---|
static java.util.function.Function<byte[],io.helidon.common.reactive.Flow.Publisher<ResponseChunk>> |
ContentWriters.byteArrayWriter(boolean copy) |
Returns a writer function for
byte[]. |
static java.util.function.Function<java.nio.channels.ReadableByteChannel,io.helidon.common.reactive.Flow.Publisher<ResponseChunk>> |
ContentWriters.byteChannelWriter() |
Returns a writer function for
ReadableByteChannel. |
static java.util.function.Function<java.nio.channels.ReadableByteChannel,io.helidon.common.reactive.Flow.Publisher<ResponseChunk>> |
ContentWriters.byteChannelWriter(io.helidon.common.reactive.RetrySchema retrySchema) |
Returns a writer function for
ReadableByteChannel. |
static java.util.function.Function<java.lang.CharSequence,io.helidon.common.reactive.Flow.Publisher<ResponseChunk>> |
ContentWriters.charSequenceWriter(java.nio.charset.Charset charset) |
Returns a writer function for
CharSequence using provided standard charset. |
| Modifier and Type | Method | Description |
|---|---|---|
ServerResponse |
ServerResponse.registerFilter(java.util.function.Function<io.helidon.common.reactive.Flow.Publisher<ResponseChunk>,io.helidon.common.reactive.Flow.Publisher<ResponseChunk>> function) |
Registers a provider of the new response content publisher - typically a filter.
|
ServerResponse |
ServerResponse.registerFilter(java.util.function.Function<io.helidon.common.reactive.Flow.Publisher<ResponseChunk>,io.helidon.common.reactive.Flow.Publisher<ResponseChunk>> function) |
Registers a provider of the new response content publisher - typically a filter.
|
<T> ServerResponse |
ServerResponse.registerWriter(java.lang.Class<T> type,
MediaType contentType,
java.util.function.Function<? extends T,io.helidon.common.reactive.Flow.Publisher<ResponseChunk>> function) |
Registers a content writer for a given type and media type.
|
<T> ServerResponse |
ServerResponse.registerWriter(java.lang.Class<T> type,
java.util.function.Function<T,io.helidon.common.reactive.Flow.Publisher<ResponseChunk>> function) |
Registers a content writer for a given type.
|
<T> ServerResponse |
ServerResponse.registerWriter(java.util.function.Predicate<?> accept,
MediaType contentType,
java.util.function.Function<T,io.helidon.common.reactive.Flow.Publisher<ResponseChunk>> function) |
Registers a content writer for all accepted contents.
|
<T> ServerResponse |
ServerResponse.registerWriter(java.util.function.Predicate<?> accept,
java.util.function.Function<T,io.helidon.common.reactive.Flow.Publisher<ResponseChunk>> function) |
Registers a content writer for all accepted contents.
|
java.util.concurrent.CompletionStage<ServerResponse> |
ServerResponse.send(io.helidon.common.reactive.Flow.Publisher<ResponseChunk> content) |
Send a message as is without any other marshalling.
|
void |
ReadableByteChannelPublisher.subscribe(io.helidon.common.reactive.Flow.Subscriber<? super ResponseChunk> subscriberParam) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
BareResponse.onNext(ResponseChunk data) |
Provided
ByteBuffer MUST be fully read during the method call. |
Copyright © 2018 Oracle Corporation. All rights reserved.