public interface SitePreferenceHandler
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CURRENT_SITE_PREFERENCE_ATTRIBUTE
The name of the request attribute that holds the current user's site preference value.
|
Modifier and Type | Method and Description |
---|---|
SitePreference |
handleSitePreference(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handle the site preference aspect of the web request.
|
static final java.lang.String CURRENT_SITE_PREFERENCE_ATTRIBUTE
SitePreference handleSitePreference(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Device
that originated the request.
After handling, the resolved site preference is available as a request attribute
.request
- the web requestresponse
- the web response