* @param params
* @return
*/
public String renderTemplate(String filename, DynMap params) {
TemplateRenderer renderer = TemplateLookup.getRenderer(this.getServerConfig());
return renderer.renderTemplateFile(filename, params);
}
public String[] routes() {
if (this.getClass().isAnnotationPresent(Strest.class)) {
return this.getClass().getAnnotation(Strest.class).route();