Package | Description |
---|---|
org.springframework.web.servlet.config.annotation |
Annotation-based setup for Spring MVC.
|
org.springframework.web.servlet.support |
Support classes for Spring's web MVC framework.
|
org.springframework.web.servlet.theme |
Theme support classes for Spring's web MVC framework.
|
Modifier and Type | Method and Description |
---|---|
ThemeResolver |
WebMvcConfigurationSupport.themeResolver() |
Modifier and Type | Method and Description |
---|---|
static ThemeResolver |
RequestContextUtils.getThemeResolver(HttpServletRequest request)
Return the ThemeResolver that has been bound to the request by the
DispatcherServlet.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractThemeResolver
Abstract base class for
ThemeResolver implementations. |
class |
CookieThemeResolver
ThemeResolver implementation that uses a cookie sent back to the user
in case of a custom setting, with a fallback to the default theme. |
class |
FixedThemeResolver
ThemeResolver implementation
that simply uses a fixed theme. |
class |
SessionThemeResolver
ThemeResolver implementation that
uses a theme attribute in the user's session in case of a custom setting,
with a fallback to the default theme. |