public static interface View.Engine extends Renderer
View. Multiples view engine are supported too. In order to support multiples view engine, a view engine is allowed to throw a
FileNotFoundExceptionwhen a template can't be resolved it. This gives the chance to the next view resolver to load the template.
|Modifier and Type||Method and Description|
Render the given value and write the response (if possible).
Render a view or throw a
default void render(Object value, Renderer.Context ctx) throws Exception
void render(View viewable, Renderer.Context ctx) throws FileNotFoundException, Exception
FileNotFoundExceptionwhen template can't be resolved it..
Copyright © 2017. All rights reserved.