public class FreeMarkerSupport extends Object implements net.idea.restnet.i.freemarker.IFreeMarkerSupport
Modifier and Type | Field and Description |
---|---|
protected boolean |
htmlbyTemplate |
protected String |
templateName |
Constructor and Description |
---|
FreeMarkerSupport() |
FreeMarkerSupport(String templateName) |
Modifier and Type | Method and Description |
---|---|
protected org.restlet.data.Reference |
cleanedResourceRef(org.restlet.data.Reference ref) |
void |
configureTemplateMap(Map<String,Object> map,
org.restlet.Request request,
net.idea.restnet.i.freemarker.IFreeMarkerApplication app) |
String |
getTemplateName() |
boolean |
isHtmlbyTemplate() |
void |
setHtmlbyTemplate(boolean htmlbyTemplate) |
protected boolean htmlbyTemplate
protected String templateName
public FreeMarkerSupport()
public FreeMarkerSupport(String templateName)
public String getTemplateName()
getTemplateName
in interface net.idea.restnet.i.freemarker.IFreeMarkerSupport
public boolean isHtmlbyTemplate()
isHtmlbyTemplate
in interface net.idea.restnet.i.freemarker.IFreeMarkerSupport
public void setHtmlbyTemplate(boolean htmlbyTemplate)
setHtmlbyTemplate
in interface net.idea.restnet.i.freemarker.IFreeMarkerSupport
public void configureTemplateMap(Map<String,Object> map, org.restlet.Request request, net.idea.restnet.i.freemarker.IFreeMarkerApplication app)
configureTemplateMap
in interface net.idea.restnet.i.freemarker.IFreeMarkerSupport
protected org.restlet.data.Reference cleanedResourceRef(org.restlet.data.Reference ref)
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.