code: public static SiteSwitcherHandlerInterceptor urlPath(String mobilePath, String rootPath) {
  		return new SiteSwitcherHandlerInterceptor(StandardSiteSwitcherHandlerFactory.urlPath(mobilePath, rootPath));
  	}
docs: Creates a site switcher that redirects to a path on the current domain for normal site requests that either
  originate from a mobile device or indicate a mobile site preference.
  Allows you to configure a root path for an application. For example, if your app is running at <code>https://www.domain.com/myapp</code>,
  then the root path is <code>/myapp</code>.
  Uses a {@link CookieSitePreferenceRepository} that saves a cookie that is stored on the root path.