| Constructor and Description |
|---|
RapidoidTemplate(String filename,
TemplateRenderer template,
TemplateFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
String |
render(Object model) |
void |
renderInContext(RenderCtxImpl renderCtx) |
void |
renderMultiModel(OutputStream output,
Object... model) |
void |
renderTo(OutputStream output,
Object model) |
void |
renderTo(org.rapidoid.writable.Writable output,
Object model) |
byte[] |
renderToBytes(Object model) |
public RapidoidTemplate(String filename, TemplateRenderer template, TemplateFactory factory)
public void renderMultiModel(OutputStream output, Object... model)
public void renderTo(OutputStream output, Object model)
public void renderTo(org.rapidoid.writable.Writable output,
Object model)
public byte[] renderToBytes(Object model)
renderToBytes in interface Templatepublic void renderInContext(RenderCtxImpl renderCtx)
Copyright © 2014–2018 Nikolche Mihajlovski and contributors. All rights reserved.