|
[Deprecated API] | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | CURRENT API | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface for web-based theme resolution strategies that allows for both theme resolution via the request and theme modification via request and response.
This interface allows for implementations based on session, cookies, etc. The default implementation is FixedThemeResolver, simply using a configured default theme.
Note that this resolver is only responsible for determining the current theme name. The Theme instance for the resolved theme name gets looked up by DispatcherServlet via the respective ThemeSource, i.e. the current WebApplicationContext.
FixedThemeResolver,
Theme,
ThemeSource| Method Summary | |
java.lang.String |
resolveThemeName(javax.servlet.http.HttpServletRequest request)
Resolve the current theme name via the given request. |
void |
setThemeName(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String themeName)
Set the current theme name to the given one. |
| Method Detail |
public java.lang.String resolveThemeName(javax.servlet.http.HttpServletRequest request)
request - request to be used for resolution
public void setThemeName(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String themeName)
request - request to be used for theme name modificationresponse - response to be used for theme name modificationthemeName - the new theme name
|
[Deprecated API] | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | CURRENT API | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||