Class JspTemplateViewDispatcher

  • All Implemented Interfaces:
    com.aspectran.core.activity.response.dispatch.ViewDispatcher

    public class JspTemplateViewDispatcher
    extends java.lang.Object
    implements com.aspectran.core.activity.response.dispatch.ViewDispatcher
    JSP or other web resource integration. Sends the model produced by Aspectran's internal activity to the JSP to render the final view page.

    Created: 2019. 02. 18

    • Field Summary

      • Fields inherited from interface com.aspectran.core.activity.response.dispatch.ViewDispatcher

        VIEW_DISPATCHER_SETTING_NAME
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void dispatch​(com.aspectran.core.activity.Activity activity, com.aspectran.core.context.rule.DispatchRule dispatchRule)  
      java.lang.String getContentType()  
      boolean isSingleton()  
      void setContentType​(java.lang.String contentType)  
      void setIncludePageKey​(java.lang.String includePageKey)  
      void setTemplate​(java.lang.String template)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • JspTemplateViewDispatcher

        public JspTemplateViewDispatcher()
    • Method Detail

      • getContentType

        public java.lang.String getContentType()
        Specified by:
        getContentType in interface com.aspectran.core.activity.response.dispatch.ViewDispatcher
      • setContentType

        public void setContentType​(java.lang.String contentType)
      • setTemplate

        public void setTemplate​(java.lang.String template)
      • setIncludePageKey

        public void setIncludePageKey​(java.lang.String includePageKey)
      • dispatch

        public void dispatch​(com.aspectran.core.activity.Activity activity,
                             com.aspectran.core.context.rule.DispatchRule dispatchRule)
                      throws com.aspectran.core.activity.response.dispatch.ViewDispatcherException
        Specified by:
        dispatch in interface com.aspectran.core.activity.response.dispatch.ViewDispatcher
        Throws:
        com.aspectran.core.activity.response.dispatch.ViewDispatcherException
      • isSingleton

        public boolean isSingleton()
        Specified by:
        isSingleton in interface com.aspectran.core.activity.response.dispatch.ViewDispatcher
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object