Class FreemarkerAppHandler


  • @Component
    public class FreemarkerAppHandler
    extends java.lang.Object
    Used for cases where plain web page should be presented to the user, based on freemarker template.
    Author:
    K. Benedyczak
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void printAppErrorPage​(java.io.Writer out, java.lang.String subsystem, java.lang.String genericIntro, java.lang.String error, java.lang.String cause)  
      void printGenericPage​(java.io.Writer out, java.lang.String template, java.util.Map<java.lang.String,​java.lang.String> datamodel)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • printAppErrorPage

        public void printAppErrorPage​(java.io.Writer out,
                                      java.lang.String subsystem,
                                      java.lang.String genericIntro,
                                      java.lang.String error,
                                      java.lang.String cause)
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • printGenericPage

        public void printGenericPage​(java.io.Writer out,
                                     java.lang.String template,
                                     java.util.Map<java.lang.String,​java.lang.String> datamodel)
                              throws java.io.IOException
        Throws:
        java.io.IOException