Class FreemarkerTextResult

  • All Implemented Interfaces:
    com.opensymphony.xwork2.Result, Serializable, org.apache.struts2.StrutsStatics

    public class FreemarkerTextResult
    extends org.apache.struts2.views.freemarker.FreemarkerResult
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class org.apache.struts2.views.freemarker.FreemarkerResult

        configuration, freemarkerManager, invocation, location, wrapper
      • Fields inherited from class org.apache.struts2.result.StrutsResultSupport

        DEFAULT_PARAM, DEFAULT_URL_ENCODING, parseLocation
      • Fields inherited from interface org.apache.struts2.StrutsStatics

        HTTP_REQUEST, HTTP_RESPONSE, PAGE_CONTEXT, SERVLET_CONTEXT, SERVLET_DISPATCHER, STRUTS_ACTION_TAG_INVOCATION, STRUTS_PORTLET_CONTEXT
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getContentType()  
      protected boolean preTemplateProcess​(freemarker.template.Template template, freemarker.template.TemplateModel templateModel)  
      • Methods inherited from class org.apache.struts2.views.freemarker.FreemarkerResult

        createModel, deduceLocale, doExecute, getConfiguration, getObjectWrapper, getWriter, isWriteIfCompleted, postTemplateProcess, setContentType, setFreemarkerManager, setWriteIfCompleted, setWriter
      • Methods inherited from class org.apache.struts2.result.StrutsResultSupport

        conditionalParse, conditionalParseCollection, execute, getLastFinalLocation, getLocation, setEncode, setLocation, setParse
    • Constructor Detail

      • FreemarkerTextResult

        public FreemarkerTextResult()
    • Method Detail

      • preTemplateProcess

        protected boolean preTemplateProcess​(freemarker.template.Template template,
                                             freemarker.template.TemplateModel templateModel)
                                      throws IOException
        Overrides:
        preTemplateProcess in class org.apache.struts2.views.freemarker.FreemarkerResult
        Throws:
        IOException
      • getContentType

        public String getContentType()
        Overrides:
        getContentType in class org.apache.struts2.views.freemarker.FreemarkerResult