T - The type of object that this renderer knows how to render.public interface Renderer<T>
Renderers are typically not used directly.
Instead, they are used via by Context.render(Object) method.
See RendererSupport for support base class for implementations.
RendererSupportClass<T> getType()
@NonBlocking void render(Context context, T object) throws Exception
Calling this method will finalize the processing, sending the response to the client.
Any errors that occur during rendering will be sent to Context.error(Exception).
context - the context for the operationobject - the object to renderException - if anything goes wrong while rendering