Top Description Classes
module spring.webmvc

Package org.springframework.web.servlet.theme

Annotations
@NonNullApi
@NonNullFields
Imports
org.springframework.lang.NonNullApi, .NonNullFields

Theme support classes for Spring's web MVC framework. Provides standard ThemeResolver implementations, and a HandlerInterceptor for theme changes.

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractThemeResolver

Deprecated since 6.0. as of 6.0 in favor of using CSS, without direct replacement
Abstract base class for ThemeResolver implementations.
public class
CookieThemeResolver

Deprecated since 6.0. as of 6.0 in favor of using CSS, without direct replacement
ThemeResolver implementation that uses a cookie sent back to the user in case of a custom setting, with a fallback to the default theme.
public class
FixedThemeResolver

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.
public class
SessionThemeResolver

Deprecated since 6.0. as of 6.0 in favor of using CSS, without direct replacement
org.springframework.web.servlet.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.
public class
ThemeChangeInterceptor

Deprecated since 6.0. as of 6.0 in favor of using CSS, without direct replacement
Interceptor that allows for changing the current theme on every request, via a configurable request parameter (default parameter name: "theme").