public interface SitePreferenceHandler
Modifier and Type | Field and Description |
---|---|
static 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(HttpServletRequest request,
HttpServletResponse response)
Handle the site preference aspect of the web request.
|
static final String CURRENT_SITE_PREFERENCE_ATTRIBUTE
SitePreference handleSitePreference(HttpServletRequest request, 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