ViewDispatcherpublic class PebbleViewDispatcher extends java.lang.Object implements ViewDispatcher
Created: 2016. 1. 27.
VIEW_DISPATCHER_SETTING_NAME| Constructor | Description |
|---|---|
PebbleViewDispatcher(com.mitchellbosecke.pebble.PebbleEngine pebbleEngine) |
| 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 |
setTemplateNamePrefix(java.lang.String templateNamePrefix) |
Sets the prefix for the template name.
|
void |
setTemplateNameSuffix(java.lang.String templateNameSuffix) |
Sets the suffix for the template name.
|
public PebbleViewDispatcher(com.mitchellbosecke.pebble.PebbleEngine pebbleEngine)
public void setTemplateNamePrefix(java.lang.String templateNamePrefix)
templateNamePrefix - the new prefix for the template namepublic void setTemplateNameSuffix(java.lang.String templateNameSuffix)
templateNameSuffix - 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.