public class SitePreferenceUtils extends Object
Modifier and Type | Method and Description |
---|---|
static SitePreference |
getCurrentSitePreference(HttpServletRequest request)
Get the current site preference for the user that originated this web request.
|
static SitePreference |
getCurrentSitePreference(RequestAttributes attributes)
Get the current site preference for the user from the request attributes map.
|
public static SitePreference getCurrentSitePreference(HttpServletRequest request)
public static SitePreference getCurrentSitePreference(RequestAttributes attributes)