Deprecated
since 6.0.
as of 6.0 in favor of using CSS, without direct replacement
org.springframework.web.servlet.ThemeResolver implementation
that simply uses a fixed theme. The fixed name can be defined via
the "defaultThemeName" property; out of the box, it is "theme".Note
Does not support setThemeName, as the fixed theme
cannot be changed.
setDefaultThemeName
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | resolveThemeName(HttpServletRequest
the request to be used for resolution request)Implements org. Resolve the current theme name via the given request. |
| public void | setThemeName(HttpServletRequest
the request to be used for theme name modification request, HttpServletResponse the response to be used for theme name modification response, String the new theme name ( themeName)null or empty to reset it)Implements org. Set the current theme name to the given one. |
| FixedThemeResolver | back to summary |
|---|---|
| public FixedThemeResolver() | |
| resolveThemeName | back to summary |
|---|---|
| public String resolveThemeName(HttpServletRequest request) Implements org. Doc from org. Resolve the current theme name via the given request. Should return a default theme as fallback in any case.
| |
| setThemeName | back to summary |
|---|---|
| public void setThemeName(HttpServletRequest request, HttpServletResponse response, String themeName) Implements org. Doc from org. Set the current theme name to the given one.
| |