ViewDispatcherpublic class FreeMarkerViewDispatcher extends java.lang.Object implements ViewDispatcher
Created: 2016. 1. 27.
VIEW_DISPATCHER_SETTING_NAME| Constructor | Description |
|---|---|
FreeMarkerViewDispatcher(freemarker.template.Configuration configuration) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
dispatch(Activity activity,
DispatchResponseRule dispatchResponseRule) |
Dispatch to other resources as the given rule.
|
boolean |
isSingleton() |
Return whether this view dispatcher corresponds to a singleton instance.
|
void |
setPrefix(java.lang.String prefix) |
Sets the prefix for the template name.
|
void |
setSuffix(java.lang.String suffix) |
Sets the suffix for the template name.
|
public FreeMarkerViewDispatcher(freemarker.template.Configuration configuration)
public void setPrefix(java.lang.String prefix)
prefix - the new prefix for the template namepublic void setSuffix(java.lang.String suffix)
suffix - the new suffix for the template namepublic void dispatch(Activity activity, DispatchResponseRule dispatchResponseRule) throws ViewDispatcherException
ViewDispatcherdispatch in interface ViewDispatcheractivity - the current activitydispatchResponseRule - the dispatch response ruleViewDispatcherException - the view dispatch exceptionpublic boolean isSingleton()
ViewDispatcherisSingleton in interface ViewDispatcherCopyright © 2008–2018 The Aspectran Project. All rights reserved.