@Test public void notRequestForPathSiteWithPath() { request.setRequestURI("/showcase/marvelous/"); assertFalse(basicPathFactory.isRequestForSite(request)); }
public boolean isRequestForSite(HttpServletRequest request) { return request.getRequestURI().startsWith(this.getFullMobilePath()) || request.getRequestURI().equals(this.getCleanMobilePath()); }
MobileSitePathUrlFactory extends AbstractSitePathUrlFactory implements SiteUrlFactory { public boolean isRequestForSite(HttpServletRequest request) { return request.getRequestURI().startsWith(this.getFullMobilePath()) || request.getRequestURI().equals(this.getCleanMobilePath()); } }
MobileSitePathUrlFactory extends AbstractSitePathUrlFactory implements SiteUrlFactory { public boolean isRequestForSite(HttpServletRequest request) { return request.getRequestURI().startsWith(this.getFullMobilePath()) || request.getRequestURI().equals(this.getCleanMobilePath()); } MobileSitePathUrlFactory(final String mobilePath, final String tabletPath);  MobileSitePathUrlFactory(final String mobilePath, final String tabletPath, final String rootPath); }
MobileSitePathUrlFactory extends AbstractSitePathUrlFactory implements SiteUrlFactory { public boolean isRequestForSite(HttpServletRequest request) { return request.getRequestURI().startsWith(this.getFullMobilePath()) || request.getRequestURI().equals(this.getCleanMobilePath()); } MobileSitePathUrlFactory(final String mobilePath, final String tabletPath);  MobileSitePathUrlFactory(final String mobilePath, final String tabletPath, final String rootPath); boolean isRequestForSite(HttpServletRequest request); String createSiteUrl(HttpServletRequest request); }
MobileSitePathUrlFactory extends AbstractSitePathUrlFactory implements SiteUrlFactory { public boolean isRequestForSite(HttpServletRequest request) { return request.getRequestURI().startsWith(this.getFullMobilePath()) || request.getRequestURI().equals(this.getCleanMobilePath()); } MobileSitePathUrlFactory(final String mobilePath, final String tabletPath);  MobileSitePathUrlFactory(final String mobilePath, final String tabletPath, final String rootPath); boolean isRequestForSite(HttpServletRequest request); String createSiteUrl(HttpServletRequest request);  }