Package ratpack.core.render
The renderer framework provides a pluggable mechanism for serializing objects to the response.
See Renderer
to get started.
-
Interface Summary Interface Description Renderable A renderable object, that can be given toContext.render(Object)
.RenderableDecorator<T> Decorates an object before it isrendered
.Renderer<T> A renderer is responsible for rendering an object to the response. -
Class Summary Class Description RenderableDecoratorSupport<T> A convenience base class forRenderableDecorator
implementations.RendererSupport<T> ARenderer
super class that provides aRendererSupport.getType()
implementation based on the generic type of the impl. -
Exception Summary Exception Description NoSuchRendererException Thrown when a request is made to render an object, but no suitable renderer can be found.RendererException Wraps an exception thrown by a renderer while rendering.RenderException A generic super type for exceptions indicate something when wrong for a render operation.