| Package | Description |
|---|---|
| io.helidon.webserver |
Reactive web server API.
|
| io.helidon.webserver.spi |
WebServer SPI.
|
| Modifier and Type | Method | Description |
|---|---|---|
static RequestChunk |
RequestChunk.from(byte[] bytes) |
Creates a simple byte array backed request chunk.
|
static RequestChunk |
RequestChunk.from(java.nio.ByteBuffer byteBuffer) |
Creates a simple
ByteBuffer backed request chunk. |
| Modifier and Type | Method | Description |
|---|---|---|
default java.util.concurrent.CompletionStage<? extends R> |
ServerRequest.Reader.apply(io.helidon.common.reactive.Flow.Publisher<RequestChunk> publisher) |
Transforms a publisher into a completion stage.
|
java.util.concurrent.CompletionStage<? extends R> |
ServerRequest.Reader.apply(io.helidon.common.reactive.Flow.Publisher<RequestChunk> publisher,
java.lang.Class<? super R> clazz) |
Transforms a publisher into a completion stage.
|
java.util.concurrent.CompletionStage<java.lang.String> |
StringContentReader.apply(io.helidon.common.reactive.Flow.Publisher<RequestChunk> publisher,
java.lang.Class<? super java.lang.String> clazz) |
Converts a
ByteBuffer publisher to a single string while using the associated
charset. |
default <T extends R> |
ServerRequest.Reader.applyAndCast(io.helidon.common.reactive.Flow.Publisher<RequestChunk> publisher,
java.lang.Class<T> type) |
Transforms a publisher into a completion stage.
|
void |
ServerRequest.Content.registerFilter(java.util.function.Function<io.helidon.common.reactive.Flow.Publisher<RequestChunk>,io.helidon.common.reactive.Flow.Publisher<RequestChunk>> function) |
Registers a filter that allows a control of the original publisher.
|
void |
ServerRequest.Content.registerFilter(java.util.function.Function<io.helidon.common.reactive.Flow.Publisher<RequestChunk>,io.helidon.common.reactive.Flow.Publisher<RequestChunk>> function) |
Registers a filter that allows a control of the original publisher.
|
void |
PublisherInputStream.subscribe(io.helidon.common.reactive.Flow.Subscriber<? super RequestChunk> subscriber) |
|
void |
ServerRequest.Content.subscribe(io.helidon.common.reactive.Flow.Subscriber<? super RequestChunk> subscriber) |
If possible, adds the given Subscriber to this publisher.
|
| Constructor | Description |
|---|---|
PublisherInputStream(io.helidon.common.reactive.Flow.Publisher<RequestChunk> originalPublisher) |
Wraps the supplied publisher and adds a blocking
InputStream based nature. |
| Modifier and Type | Method | Description |
|---|---|---|
io.helidon.common.reactive.Flow.Publisher<RequestChunk> |
BareRequest.bodyPublisher() |
Gets the Flow Publisher that allows a subscription for request body chunks.
|
Copyright © 2018 Oracle Corporation. All rights reserved.