Uses of Class
ratpack.core.http.ResponseChunks
-
Packages that use ResponseChunks Package Description ratpack.core.http The HTTP protocol.ratpack.core.jackson Integration with the Jackson JSON marshalling library.ratpack.gson Provides integration with Google Gson for JSON parsing and rendering. -
-
Uses of ResponseChunks in ratpack.core.http
Methods in ratpack.core.http that return ResponseChunks Modifier and Type Method Description static ResponseChunks
ResponseChunks. bufferChunks(CharSequence contentType, Publisher<? extends io.netty.buffer.ByteBuf> publisher)
Transmit each set of bytes emitted by the publisher as a chunk.static ResponseChunks
ResponseChunks. stringChunks(CharSequence contentType, Charset charset, Publisher<? extends CharSequence> publisher)
Transmit each string emitted by the publisher as a chunk.static ResponseChunks
ResponseChunks. stringChunks(CharSequence contentType, Publisher<? extends CharSequence> publisher)
Transmit each string emitted by the publisher as a chunk.static ResponseChunks
ResponseChunks. stringChunks(Publisher<? extends CharSequence> publisher)
Transmit each string emitted by the publisher as a chunk. -
Uses of ResponseChunks in ratpack.core.jackson
Methods in ratpack.core.jackson that return ResponseChunks Modifier and Type Method Description static <T> ResponseChunks
Jackson. chunkedJsonList(ObjectWriter objectWriter, Publisher<T> stream)
Renders a data stream as a JSON list, directly streaming the JSON.static <T> ResponseChunks
Jackson. chunkedJsonList(Registry registry, Publisher<T> stream)
Renders a data stream as a JSON list, directly streaming the JSON. -
Uses of ResponseChunks in ratpack.gson
Methods in ratpack.gson that return ResponseChunks Modifier and Type Method Description static <T> ResponseChunks
Gson. chunkedJsonList(com.google.gson.Gson gson, Publisher<T> stream)
Renders a data stream as a JSON list, directly streaming the JSON.static <T> ResponseChunks
Gson. chunkedJsonList(Registry registry, Publisher<T> stream)
Renders a data stream as a JSON list, directly streaming the JSON.
-