Uses of Interface
io.jstach.jstachio.Output.CloseableEncodedOutput
Package
Description
JStachio Core Runtime API.
Output utility classes particularly for leveraging pre-encoding efficiently and shared
integration logic for plugging into web application frameworks.
Spring Web integration
Spring Web MVC integration
-
Uses of Output.CloseableEncodedOutput in io.jstach.jstachio
Modifier and TypeMethodDescriptionOutput.EncodedOutput.of
(OutputStream a, Charset charset) Adapts anOutputStream
as anOutput.EncodedOutput
. -
Uses of Output.CloseableEncodedOutput in io.jstach.jstachio.output
Modifier and TypeInterfaceDescriptioninterface
An encoded output that will store the output in its preferred memory structure and can then be copied to anOutputStream
or read from aReadableByteChannel
.interface
An encoded output optimized for producing a singleByteBuffer
.interface
Maintains the encoded output in an iterable of chunks of typeT
that is optimized forBufferedEncodedOutput.asReadableByteChannel()
.interface
LimitEncodedOutput<T,
E extends Exception> This output will limit buffering by byte count and then fallback to pushing to the downstream output type ofT
once limit is exceeded.Modifier and TypeClassDescriptionclass
A custom OutputStream that is designed for generating bytes from pre-encoded output as well as reused carefully either by threadlocals or some other pooling mechanism.class
ThresholdEncodedOutput<T,
E extends Exception> This abstract output will limit buffering by byte count and then fallback to pushing to the downstream output type ofT
once limit is exceeded.static class
An OutputStream backed buffer limited encoded output. -
Uses of Output.CloseableEncodedOutput in io.jstach.opt.spring.web
Modifier and TypeMethodDescriptionprotected Output.CloseableEncodedOutput<IOException>
JStachioHttpMessageConverter.createOutput
(HttpOutputMessage message) Create the buffered output to use when executing JStachio. -
Uses of Output.CloseableEncodedOutput in io.jstach.opt.spring.webmvc
Modifier and TypeMethodDescriptiondefault Output.CloseableEncodedOutput<IOException>
JStachioModelView.createOutput
(Charset charset, jakarta.servlet.http.HttpServletResponse response) Creates the output from the servlet response to use for rendering.protected Output.CloseableEncodedOutput<IOException>
ServletJStachioHttpMessageConverter.createOutput
(jakarta.servlet.http.HttpServletResponse response) Create the output from a servlet response.protected Output.CloseableEncodedOutput<IOException>
ServletJStachioHttpMessageConverter.createOutput
(HttpOutputMessage message)