public class CookieThemeResolver extends java.lang.Object implements ThemeResolver
Constructor and Description |
---|
CookieThemeResolver() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getTheme(javax.servlet.http.HttpServletRequest request)
Retrieves theme name from Cookie
|
void |
setTheme(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String themeName)
Stores theme name in Cookie
|
public java.lang.String getTheme(javax.servlet.http.HttpServletRequest request)
getTheme
in interface ThemeResolver
request
- public void setTheme(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String themeName)
setTheme
in interface ThemeResolver
request
- response
- themeName
- theme name to be stored in CookieCopyright © 2005-2021 Potix Corporation. All Rights Reserved.