Class FreemarkerAppHandler
- java.lang.Object
-
- pl.edu.icm.unity.engine.api.utils.FreemarkerAppHandler
-
@Component public class FreemarkerAppHandler extends Object
Used for cases where plain web page should be presented to the user, based on freemarker template.- Author:
- K. Benedyczak
-
-
Constructor Summary
Constructors Constructor Description FreemarkerAppHandler(UnityServerConfiguration serverConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
printAppErrorPage(Writer out, String subsystem, String genericIntro, String error, String cause)
void
printGenericPage(Writer out, String template, Map<String,String> datamodel)
-
-
-
Constructor Detail
-
FreemarkerAppHandler
@Autowired public FreemarkerAppHandler(UnityServerConfiguration serverConfig)
-
-
Method Detail
-
printAppErrorPage
public void printAppErrorPage(Writer out, String subsystem, String genericIntro, String error, String cause) throws IOException
- Throws:
IOException
-
printGenericPage
public void printGenericPage(Writer out, String template, Map<String,String> datamodel) throws IOException
- Throws:
IOException
-
-