| Package | Description |
|---|---|
| io.helidon.common.http |
HTTP APIs and implementations usable by both server and client side of the HTTP story.
|
| io.helidon.media.common |
Common classes for processing content with a specific
MediaType. |
| io.helidon.media.jsonp.common |
JSON-P media type support.
|
| io.helidon.media.jsonp.server |
| Modifier and Type | Method and Description |
|---|---|
<T> void |
Content.registerReader(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(Predicate<Class<?>> predicate,
Reader<T> reader)
Registers a reader for a later use with an appropriate
Content.as(Class) method call. |
| Modifier and Type | Method and Description |
|---|---|
static Reader<byte[]> |
ContentReaders.byteArrayReader()
The returned reader provides means to convert a
ByteBuffer publisher to
an array of bytes. |
static Reader<InputStream> |
ContentReaders.inputStreamReader()
Creates a reader that bridges Flow API IO to a blocking Java
InputStream. |
static Reader<String> |
ContentReaders.stringReader(Charset charset)
For basic charsets, returns a cached
StringContentReader instance
or create a new instance otherwise. |
| Modifier and Type | Method and Description |
|---|---|
Reader<JsonStructure> |
JsonProcessing.reader()
Returns a function (reader) converting
Publisher of ByteBuffers to
a JSON-P object. |
Reader<JsonStructure> |
JsonProcessing.reader(Charset charset)
Returns a function (reader) converting
Publisher of ByteBuffers to
a JSON-P object. |
| Modifier and Type | Method and Description |
|---|---|
Reader<JsonStructure> |
JsonSupport.reader()
Returns a function (reader) converting
Publisher of ByteBuffers to
a JSON-P object. |
Reader<JsonStructure> |
JsonSupport.reader(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.