public static SiteSwitcherHandler urlPath(String mobilePath) {
		return new StandardSiteSwitcherHandler(
				new NormalSitePathUrlFactory(mobilePath),
				new MobileSitePathUrlFactory(mobilePath, null),
				null,
				new StandardSitePreferenceHandler(new CookieSitePreferenceRepository()),
				false);
	}
public static SiteSwitcherHandler urlPath ( String mobilePath ) { return new StandardSiteSwitcherHandler ( new NormalSitePathUrlFactory ( mobilePath ) , new MobileSitePathUrlFactory ( mobilePath , null ) , null , new StandardSitePreferenceHandler ( new CookieSitePreferenceRepository ( ) ) , false ) ; }
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.
Uses a {@link CookieSitePreferenceRepository} that saves a cookie that is stored on the root path.