Package | Description |
---|---|
ratpack.http |
The HTTP protocol.
|
ratpack.jackson |
Integration with the Jackson JSON marshalling library.
|
Modifier and Type | Method and Description |
---|---|
static ResponseChunks |
ResponseChunks.bufferChunks(CharSequence contentType,
org.reactivestreams.Publisher<? extends ByteBuf> publisher)
Transmit each set of bytes emitted by the publisher as a chunk.
|
static ResponseChunks |
ResponseChunks.stringChunks(CharSequence contentType,
Charset charset,
org.reactivestreams.Publisher<? extends CharSequence> publisher)
Transmit each string emitted by the publisher as a chunk.
|
static ResponseChunks |
ResponseChunks.stringChunks(CharSequence contentType,
org.reactivestreams.Publisher<? extends CharSequence> publisher)
Transmit each string emitted by the publisher as a chunk.
|
static ResponseChunks |
ResponseChunks.stringChunks(org.reactivestreams.Publisher<? extends CharSequence> publisher)
Transmit each string emitted by the publisher as a chunk.
|
Modifier and Type | Method and Description |
---|---|
static <T> ResponseChunks |
Jackson.chunkedJsonList(ObjectWriter objectWriter,
org.reactivestreams.Publisher<T> stream)
Renders a data stream as a JSON list, directly streaming the JSON.
|
static <T> ResponseChunks |
Jackson.chunkedJsonList(Registry registry,
org.reactivestreams.Publisher<T> stream)
Renders a data stream as a JSON list, directly streaming the JSON.
|