Interface ViewDispatcher

All Known Implementing Classes:
FreeMarkerViewDispatcher, JspTemplateViewDispatcher, JspViewDispatcher, PebbleViewDispatcher

public interface ViewDispatcher
The Interface ViewDispatcher.
Since:
2008. 03. 23
  • Field Details

  • Method Details

    • getContentType

      String getContentType()
    • dispatch

      void dispatch(Activity activity, DispatchRule dispatchRule) throws ViewDispatcherException
      Dispatch to other resources as the given rule.
      Parameters:
      activity - the current activity
      dispatchRule - the dispatch rule
      Throws:
      ViewDispatcherException - the view dispatch exception
    • isSingleton

      boolean isSingleton()
      Return whether this view dispatcher corresponds to a singleton instance.
      Returns:
      whether this view dispatcher corresponds to a singleton instance