public class ThemeInterceptor extends AbstractWebFrameworkInterceptor
| Modifier and Type | Field and Description |
|---|---|
protected static String |
SESSION_CURRENT_THEME
The constant "alfTheme" used as an HttpSession attribute key.
|
| Constructor and Description |
|---|
ThemeInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterCompletion(org.springframework.web.context.request.WebRequest request,
Exception ex) |
protected String |
getDefaultThemeId() |
void |
postHandle(org.springframework.web.context.request.WebRequest request,
org.springframework.ui.ModelMap model) |
void |
preHandle(org.springframework.web.context.request.WebRequest webRequest)
Determines the theme to use for the request.
|
void |
setWebFrameworkConfig(WebFrameworkConfigElement webFrameworkConfig) |
getApplicationContext, getObjectService, getRenderService, getServiceRegistry, getWebFrameworkConfiguration, setApplicationContext, setServiceRegistry, setServletContextprotected static final String SESSION_CURRENT_THEME
public void setWebFrameworkConfig(WebFrameworkConfigElement webFrameworkConfig)
public void preHandle(org.springframework.web.context.request.WebRequest webRequest)
throws Exception
webRequest - The request being processed.Exceptionprotected String getDefaultThemeId()
public void postHandle(org.springframework.web.context.request.WebRequest request,
org.springframework.ui.ModelMap model)
throws Exception
ExceptionCopyright © 2005–2016 Alfresco Software. All rights reserved.