public static SiteSwitcherHandlerInterceptor urlPath(String mobilePath, String tabletPath, String rootPath) {
return new SiteSwitcherHandlerInterceptor(
new NormalSitePathUrlFactory(mobilePath, tabletPath, rootPath),
new MobileSitePathUrlFactory(mobilePath, tabletPath, rootPath),
new TabletSitePathUrlFactory(tabletPath, mobilePath, rootPath),
new StandardSitePreferenceHandler(new CookieSitePreferenceRepository()));
}