Uses of Interface
io.jstach.jstachio.Output.EncodedOutput
Packages that use Output.EncodedOutput
Package
Description
JStachio Core Runtime API.
JStachio extended Mustache context support for context stack as well as Map and JSON
tree like models.
Output utility classes particularly for leveraging pre-encoding efficiently and shared
integration logic for plugging into web application frameworks.
JStachio Service Provider extension points API.
-
Uses of Output.EncodedOutput in io.jstach.jstachio
Subinterfaces of Output.EncodedOutput in io.jstach.jstachioModifier and TypeInterfaceDescriptionstatic interfaceOutput.CloseableEncodedOutput<E extends Exception>An encoded output that can be closed.Methods in io.jstach.jstachio with type parameters of type Output.EncodedOutputModifier and TypeMethodDescription<A extends Output.EncodedOutput<E>,E extends Exception>
ARenders the passed in model directly to a binary stream possibly leveraging pre-encoded parts of the template.<A extends Output.EncodedOutput<E>,E extends Exception>
ARenders the passed in model directly to a binary stream leveraging pre-encoded parts of the template.default <A extends Output.EncodedOutput<E>,E extends Exception>
ARenders the passed in model directly to a binary stream possibly leveraging pre-encoded parts of the template.default <A extends Output.EncodedOutput<E>,E extends Exception>
ATemplateModel.write(A output) Renders the passed in model directly to a binary stream possibly leveraging pre-encoded parts of the template.Methods in io.jstach.jstachio that return Output.EncodedOutputModifier and TypeMethodDescriptionstatic Output.EncodedOutput<IOException>Output.of(OutputStream a, Charset charset) Adapts anOutputStreamas anOutput. -
Uses of Output.EncodedOutput in io.jstach.jstachio.context
Methods in io.jstach.jstachio.context with type parameters of type Output.EncodedOutputModifier and TypeMethodDescription<A extends Output.EncodedOutput<E>,E extends Exception>
AContextJStachio.write(Object model, ContextNode context, A output) Renders the passed in model with a context directly to a binary stream leveraging pre-encoded parts of the template.<A extends Output.EncodedOutput<E>,E extends Exception>
AContextTemplate.write(T model, ContextNode context, A output) Renders the passed in model directly to a binary stream leveraging pre-encoded parts of the template. -
Uses of Output.EncodedOutput in io.jstach.jstachio.output
Subinterfaces of Output.EncodedOutput in io.jstach.jstachio.outputModifier and TypeInterfaceDescriptioninterfaceAn encoded output that will store the output in its preferred memory structure and can then be copied to anOutputStreamor read from aReadableByteChannel.interfaceAn encoded output optimized for producing a singleByteBuffer.interfaceMaintains the encoded output in an iterable of chunks of typeTthat is optimized forBufferedEncodedOutput.asReadableByteChannel().interfaceLimitEncodedOutput<T,E extends Exception> This output will limit buffering by byte count and then fallback to pushing to the downstream output type ofTonce limit is exceeded.Classes in io.jstach.jstachio.output that implement Output.EncodedOutputModifier and TypeClassDescriptionclassA 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.classForwardingEncodedOutput<E extends Exception>An encoded output that forwards all calls to a delegate.classThresholdEncodedOutput<T,E extends Exception> This abstract output will limit buffering by byte count and then fallback to pushing to the downstream output type ofTonce limit is exceeded.static classAn OutputStream backed buffer limited encoded output.Methods in io.jstach.jstachio.output that return Output.EncodedOutputModifier and TypeMethodDescriptionprotected abstract Output.EncodedOutput<E>ForwardingEncodedOutput.delegate() -
Uses of Output.EncodedOutput in io.jstach.jstachio.spi
Methods in io.jstach.jstachio.spi with type parameters of type Output.EncodedOutputModifier and TypeMethodDescription<A extends Output.EncodedOutput<E>,E extends Exception>
Afinal <A extends Output.EncodedOutput<E>,E extends Exception>
AAbstractJStachio.write(Object model, ContextNode context, A output) Methods in io.jstach.jstachio.spi with parameters of type Output.EncodedOutputModifier and TypeMethodDescriptionstatic voidTemplates.validateEncoding(TemplateInfo template, Output.EncodedOutput<?> output) A utility method that will check if the templates encoding matches the outputs encoding.