public class PreviewResourceBeforeViewHandler extends AbstractConditionalResourceBeforeHandler
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
pathPropertyPrefix |
COMMON, RESOURCE_TYPE_CSS, RESOURCE_TYPE_JAVASCRIPT, SHARED| Constructor and Description |
|---|
PreviewResourceBeforeViewHandler() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
beforeView(HttpServletRequest request,
HttpServletResponse response,
ModelMap model,
java.lang.String viewName) |
java.lang.String |
getPathPropertyPrefix() |
boolean |
isIncludeResource(HttpServletRequest request,
HttpServletResponse response,
ModelMap model,
java.lang.String viewName) |
void |
setPathPropertyPrefix(java.lang.String pathPropertyPrefix) |
addOrAppendListAttribute, addResourcePaths, getAddOnCommonCSSPaths, getAddOnJSPaths, getAddOnResourcePaths, getAddOnThemeCSSPaths, getBean, getCommonCssPathKey, getDefaultThemeName, getJavaScriptPathsKey, getRequestContextData, getThemeCssPathKey, getThemeNameForSite, setDefaultThemeNamepublic boolean isIncludeResource(HttpServletRequest request,
HttpServletResponse response,
ModelMap model,
java.lang.String viewName)
isIncludeResource in class AbstractConditionalResourceBeforeHandlerpublic java.lang.String beforeView(HttpServletRequest request,
HttpServletResponse response,
ModelMap model,
java.lang.String viewName)
throws java.lang.Exception
beforeView in interface BeforeViewHandlerAdapteebeforeView in class AbstractConditionalResourceBeforeHandlerjava.lang.Exceptionpublic void setPathPropertyPrefix(java.lang.String pathPropertyPrefix)
public java.lang.String getPathPropertyPrefix()
getPathPropertyPrefix in class AbstractConditionalResourceBeforeHandlerCopyright © 2018 SAP SE. All Rights Reserved.