| 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.json |
| Modifier and Type | Method | Description |
|---|---|---|
<T> void |
Content.registerReader(java.lang.Class<T> type,
Reader<T> reader) |
Registers a reader for a later use with an appropriate
Content.as(Class) method call. |
<T> void |
Content.registerReader(java.util.function.Predicate<java.lang.Class<?>> predicate,
Reader<T> reader) |
Registers a reader for a later use with an appropriate
Content.as(Class) method call. |
| Modifier and Type | Class | Description |
|---|---|---|
class |
StringContentReader |
The StringContentReader provides means to convert a
ByteBuffer publisher to
a single string while using a given charset. |
| Modifier and Type | Method | Description |
|---|---|---|
static Reader<byte[]> |
ContentReaders.byteArrayReader() |
The returned reader provides means to convert a
ByteBuffer publisher to
an array of bytes. |
static Reader<java.io.InputStream> |
ContentReaders.inputStreamReader() |
Creates a reader that bridges Flow API IO to a blocking Java
InputStream. |
| Modifier and Type | Method | Description |
|---|---|---|
Reader<javax.json.JsonStructure> |
JsonSupport.reader() |
Returns a function (reader) converting
Publisher of ByteBuffers to
a JSON-P object. |
Reader<javax.json.JsonStructure> |
JsonSupport.reader(java.nio.charset.Charset charset) |
Returns a function (reader) converting
Publisher of ByteBuffers to
a JSON-P object. |
Copyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.