Uses of Class
ratpack.http.ResponseChunks
-
Packages that use ResponseChunks Package Description ratpack.gson Provides integration with Google Gson for JSON parsing and rendering.ratpack.http The HTTP protocol.ratpack.jackson Integration with the Jackson JSON marshalling library. -
-
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. -
Uses of ResponseChunks in ratpack.http
Methods in ratpack.http that return ResponseChunks Modifier and Type Method Description static ResponseChunks
ResponseChunks. bufferChunks(java.lang.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(java.lang.CharSequence contentType, java.nio.charset.Charset charset, Publisher<? extends java.lang.CharSequence> publisher)
Transmit each string emitted by the publisher as a chunk.static ResponseChunks
ResponseChunks. stringChunks(java.lang.CharSequence contentType, Publisher<? extends java.lang.CharSequence> publisher)
Transmit each string emitted by the publisher as a chunk.static ResponseChunks
ResponseChunks. stringChunks(Publisher<? extends java.lang.CharSequence> publisher)
Transmit each string emitted by the publisher as a chunk. -
Uses of ResponseChunks in ratpack.jackson
Methods in ratpack.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.
-