Interface ViewDispatcher
-
- All Known Implementing Classes:
FreeMarkerViewDispatcher
,JspViewDispatcher
,PebbleViewDispatcher
public interface ViewDispatcher
The Interface ViewDispatcher.- Since:
- 2008. 03. 23
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
VIEW_DISPATCHER_SETTING_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
dispatch(Activity activity, DispatchResponseRule dispatchResponseRule)
Dispatch to other resources as the given rule.java.lang.String
getContentType()
boolean
isSingleton()
Return whether this view dispatcher corresponds to a singleton instance.
-
-
-
Field Detail
-
VIEW_DISPATCHER_SETTING_NAME
static final java.lang.String VIEW_DISPATCHER_SETTING_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getContentType
java.lang.String getContentType()
-
dispatch
void dispatch(Activity activity, DispatchResponseRule dispatchResponseRule) throws ViewDispatcherException
Dispatch to other resources as the given rule.- Parameters:
activity
- the current activitydispatchResponseRule
- the dispatch response 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
-
-