- getCleanMobilePath() - Method in class org.springframework.mobile.device.switcher.AbstractSitePathUrlFactory
-
Returns the full mobile path without a trailing slash.
- getCleanNormalPath() - Method in class org.springframework.mobile.device.switcher.AbstractSitePathUrlFactory
-
Returns the full normal path without a trailing slash.
- getCleanRootPath() - Method in class org.springframework.mobile.device.switcher.AbstractSitePathUrlFactory
-
Returns the root path without a trailing slash.
- getCleanTabletPath() - Method in class org.springframework.mobile.device.switcher.AbstractSitePathUrlFactory
-
Returns the full tablet path without a trailing slash.
- getCurrentDevice(HttpServletRequest) - Static method in class org.springframework.mobile.device.DeviceUtils
-
Static utility method that extracts the current device from the web request.
- getCurrentDevice(RequestAttributes) - Static method in class org.springframework.mobile.device.DeviceUtils
-
Static utility method that extracts the current device from the request attributes map.
- getCurrentSitePreference(HttpServletRequest) - Static method in class org.springframework.mobile.device.site.SitePreferenceUtils
-
Get the current site preference for the user that originated this web request.
- getCurrentSitePreference(RequestAttributes) - Static method in class org.springframework.mobile.device.site.SitePreferenceUtils
-
Get the current site preference for the user from the request attributes map.
- getDeviceViewName(String) - Method in class org.springframework.mobile.device.view.AbstractDeviceDelegatingViewResolver
-
Returns the adjusted view name as determined by subclass implementation.
- getDeviceViewNameInternal(String) - Method in class org.springframework.mobile.device.view.AbstractDeviceDelegatingViewResolver
-
Subclasses must implement this method, adjusting the device view name
based on device resolution used within the subclass.
- getDeviceViewNameInternal(String) - Method in class org.springframework.mobile.device.view.LiteDeviceDelegatingViewResolver
-
- getEnableFallback() - Method in class org.springframework.mobile.device.view.AbstractDeviceDelegatingViewResolver
-
Return whether fallback view resolution is enabled
- getFullMobilePath() - Method in class org.springframework.mobile.device.switcher.AbstractSitePathUrlFactory
-
The full path of the mobile site.
- getFullNormalPath() - Method in class org.springframework.mobile.device.switcher.AbstractSitePathUrlFactory
-
The full path of the normal site
- getFullTabletPath() - Method in class org.springframework.mobile.device.switcher.AbstractSitePathUrlFactory
-
The full path of the tablet site.
- getMobilePath() - Method in class org.springframework.mobile.device.switcher.AbstractSitePathUrlFactory
-
The mobile path with a trailing slash.
- getMobilePath() - Method in class org.springframework.mobile.device.switcher.SiteSwitcherRequestFilter
-
- getMobilePrefix() - Method in class org.springframework.mobile.device.view.LiteDeviceDelegatingViewResolver
-
Return the prefix that gets prepended to view names for mobile devices
- getMobileSuffix() - Method in class org.springframework.mobile.device.view.LiteDeviceDelegatingViewResolver
-
Return the suffix that gets appended to view names for mobile devices
- getMobileUserAgentKeywords() - Method in class org.springframework.mobile.device.LiteDeviceResolver
-
List of user agent keywords that identify mobile devices.
- getMobileUserAgentPrefixes() - Method in class org.springframework.mobile.device.LiteDeviceResolver
-
List of user agent prefixes that identify mobile devices.
- getNormalPrefix() - Method in class org.springframework.mobile.device.view.LiteDeviceDelegatingViewResolver
-
Return the prefix that gets prepended to view names for normal devices
- getNormalSuffix() - Method in class org.springframework.mobile.device.view.LiteDeviceDelegatingViewResolver
-
Return the suffix that gets appended to view names for normal devices
- getNormalUserAgentKeywords() - Method in class org.springframework.mobile.device.LiteDeviceResolver
-
List of user agent keywords that identify normal devices.
- getRequiredCurrentDevice(HttpServletRequest) - Static method in class org.springframework.mobile.device.DeviceUtils
-
Static utility method that extracts the current device from the web request.
- getRootPath() - Method in class org.springframework.mobile.device.switcher.AbstractSitePathUrlFactory
-
The root path of the application with a trailing slash.
- getRootPath() - Method in class org.springframework.mobile.device.switcher.SiteSwitcherRequestFilter
-
- getServerName() - Method in class org.springframework.mobile.device.switcher.SiteSwitcherRequestFilter
-
- getSwitcherMode() - Method in class org.springframework.mobile.device.switcher.SiteSwitcherRequestFilter
-
- getTabletIsMobile() - Method in class org.springframework.mobile.device.switcher.SiteSwitcherRequestFilter
-
- getTabletPath() - Method in class org.springframework.mobile.device.switcher.AbstractSitePathUrlFactory
-
The tablet path with a trailing slash.
- getTabletPath() - Method in class org.springframework.mobile.device.switcher.SiteSwitcherRequestFilter
-
- getTabletPrefix() - Method in class org.springframework.mobile.device.view.LiteDeviceDelegatingViewResolver
-
Return the prefix that gets prepended to view names for tablet devices
- getTabletSuffix() - Method in class org.springframework.mobile.device.view.LiteDeviceDelegatingViewResolver
-
Return the suffix that gets appended to view names for tablet devices
- getTabletUserAgentKeywords() - Method in class org.springframework.mobile.device.LiteDeviceResolver
-
List of user agent keywords that identify tablet devices.
- getViewResolver() - Method in class org.springframework.mobile.device.view.AbstractDeviceDelegatingViewResolver
-
Returns the delegate view resolver
- saveSitePreference(SitePreference, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.mobile.device.site.CookieSitePreferenceRepository
-
- saveSitePreference(SitePreference, HttpServletRequest, HttpServletResponse) - Method in interface org.springframework.mobile.device.site.SitePreferenceRepository
-
Save the user's site preference.
- setEnableFallback(boolean) - Method in class org.springframework.mobile.device.view.AbstractDeviceDelegatingViewResolver
-
Enables support for fallback resolution, meaning if the adjusted view
name cannot be resolved, and attempt will be made to resolve the
original view name.
- setMobilePath(String) - Method in class org.springframework.mobile.device.switcher.SiteSwitcherRequestFilter
-
- setMobilePrefix(String) - Method in class org.springframework.mobile.device.view.LiteDeviceDelegatingViewResolver
-
Set the prefix that gets prepended to view names for mobile devices.
- setMobileSuffix(String) - Method in class org.springframework.mobile.device.view.LiteDeviceDelegatingViewResolver
-
Set the suffix that gets appended to view names for mobile devices
- setNormalPrefix(String) - Method in class org.springframework.mobile.device.view.LiteDeviceDelegatingViewResolver
-
Set the prefix that gets prepended to view names for normal devices.
- setNormalSuffix(String) - Method in class org.springframework.mobile.device.view.LiteDeviceDelegatingViewResolver
-
Set the suffix that gets appended to view names for normal devices.
- setRootPath(String) - Method in class org.springframework.mobile.device.switcher.SiteSwitcherRequestFilter
-
- setServerName(String) - Method in class org.springframework.mobile.device.switcher.SiteSwitcherRequestFilter
-
- setSwitcherMode(String) - Method in class org.springframework.mobile.device.switcher.SiteSwitcherRequestFilter
-
- setTabletIsMobile(Boolean) - Method in class org.springframework.mobile.device.switcher.SiteSwitcherRequestFilter
-
- setTabletPath(String) - Method in class org.springframework.mobile.device.switcher.SiteSwitcherRequestFilter
-
- setTabletPrefix(String) - Method in class org.springframework.mobile.device.view.LiteDeviceDelegatingViewResolver
-
Set the prefix that gets prepended to view names for tablet devices.
- setTabletSuffix(String) - Method in class org.springframework.mobile.device.view.LiteDeviceDelegatingViewResolver
-
Set the suffix that gets appended to view names for tablet devices
- SitePreference - Enum in org.springframework.mobile.device.site
-
Possible site preference values.
- SitePreferenceHandler - Interface in org.springframework.mobile.device.site
-
Service interface for site preference management.
- SitePreferenceHandlerInterceptor - Class in org.springframework.mobile.device.site
-
A Spring MVC interceptor that, on preHandle, delegates to a
SitePreferenceHandler
to resolve the SitePreference of the user that originated the web request.
- SitePreferenceHandlerInterceptor() - Constructor for class org.springframework.mobile.device.site.SitePreferenceHandlerInterceptor
-
- SitePreferenceHandlerInterceptor(SitePreferenceHandler) - Constructor for class org.springframework.mobile.device.site.SitePreferenceHandlerInterceptor
-
- SitePreferenceHandlerMethodArgumentResolver - Class in org.springframework.mobile.device.site
-
- SitePreferenceHandlerMethodArgumentResolver() - Constructor for class org.springframework.mobile.device.site.SitePreferenceHandlerMethodArgumentResolver
-
- SitePreferenceRepository - Interface in org.springframework.mobile.device.site
-
A strategy for storing a user's site preference.
- SitePreferenceRequestFilter - Class in org.springframework.mobile.device.site
-
A Servlet 2.3 Filter that delegates to a
SitePreferenceHandler
to resolve the SitePreference of the user
that originated the web request.
- SitePreferenceRequestFilter() - Constructor for class org.springframework.mobile.device.site.SitePreferenceRequestFilter
-
- SitePreferenceRequestFilter(SitePreferenceHandler) - Constructor for class org.springframework.mobile.device.site.SitePreferenceRequestFilter
-
- SitePreferenceUtils - Class in org.springframework.mobile.device.site
-
Static helper for accessing request-scoped SitePreference values.
- SitePreferenceWebArgumentResolver - Class in org.springframework.mobile.device.site
-
- SitePreferenceWebArgumentResolver() - Constructor for class org.springframework.mobile.device.site.SitePreferenceWebArgumentResolver
-
- SiteSwitcherHandler - Interface in org.springframework.mobile.device.switcher
-
- SiteSwitcherHandlerInterceptor - Class in org.springframework.mobile.device.switcher
-
A Spring MVC interceptor that switches the user between the mobile, normal, and tablet sites by employing a specific
switching algorithm.
- SiteSwitcherHandlerInterceptor(SiteUrlFactory, SiteUrlFactory, SitePreferenceHandler) - Constructor for class org.springframework.mobile.device.switcher.SiteSwitcherHandlerInterceptor
-
Creates a new site switcher.
- SiteSwitcherHandlerInterceptor(SiteUrlFactory, SiteUrlFactory, SitePreferenceHandler, Boolean) - Constructor for class org.springframework.mobile.device.switcher.SiteSwitcherHandlerInterceptor
-
Creates a new site switcher.
- SiteSwitcherHandlerInterceptor(SiteUrlFactory, SiteUrlFactory, SiteUrlFactory, SitePreferenceHandler) - Constructor for class org.springframework.mobile.device.switcher.SiteSwitcherHandlerInterceptor
-
Creates a new site switcher.
- SiteSwitcherRequestFilter - Class in org.springframework.mobile.device.switcher
-
A Servlet 2.3 Filter that switches the user between the mobile and normal site by employing a specific switching
algorithm.
- SiteSwitcherRequestFilter() - Constructor for class org.springframework.mobile.device.switcher.SiteSwitcherRequestFilter
-
- SiteSwitcherRequestFilter(SiteUrlFactory, SiteUrlFactory, SiteUrlFactory, SitePreferenceHandler) - Constructor for class org.springframework.mobile.device.switcher.SiteSwitcherRequestFilter
-
Creates a new site switcher.
- SiteUrlFactory - Interface in org.springframework.mobile.device.switcher
-
Strategy for constructing different site URLs, such as the 'mobile' site URL.
- standard(String, String, String) - Static method in class org.springframework.mobile.device.switcher.SiteSwitcherHandlerInterceptor
-
Creates a site switcher that redirects to a custom domain for normal site requests that either
originate from a mobile device or indicate a mobile site preference.
- standard(String, String, String, Boolean) - Static method in class org.springframework.mobile.device.switcher.SiteSwitcherHandlerInterceptor
-
Creates a site switcher that redirects to a custom domain for normal site requests that either
originate from a mobile device or indicate a mobile site preference.
- standard(String, String, String, String) - Static method in class org.springframework.mobile.device.switcher.SiteSwitcherHandlerInterceptor
-
Creates a site switcher that redirects to a custom domain for normal site requests that either
originate from a mobile device or indicate a mobile site preference.
- StandardSitePreferenceHandler - Class in org.springframework.mobile.device.site
-
A helper that resolves the user's site preference and makes it available as a request attribute.
- StandardSitePreferenceHandler(SitePreferenceRepository) - Constructor for class org.springframework.mobile.device.site.StandardSitePreferenceHandler
-
Creates a new site preference handler.
- StandardSiteSwitcherHandler - Class in org.springframework.mobile.device.switcher
-
- StandardSiteSwitcherHandler(SiteUrlFactory, SiteUrlFactory, SiteUrlFactory, SitePreferenceHandler, Boolean) - Constructor for class org.springframework.mobile.device.switcher.StandardSiteSwitcherHandler
-
Creates a new site switcher handler
- StandardSiteUrlFactory - Class in org.springframework.mobile.device.switcher
-
Site URL factory implementation that differentiates each site by the value of the server name field.
- StandardSiteUrlFactory(String) - Constructor for class org.springframework.mobile.device.switcher.StandardSiteUrlFactory
-
- supportsParameter(MethodParameter) - Method in class org.springframework.mobile.device.DeviceHandlerMethodArgumentResolver
-
- supportsParameter(MethodParameter) - Method in class org.springframework.mobile.device.site.SitePreferenceHandlerMethodArgumentResolver
-