@Test public void notRequestForRootSiteWithPath() { request.setRequestURI("/marvelous/"); assertFalse(basicRootFactory.isRequestForSite(request)); }
public boolean isRequestForSite(HttpServletRequest request) { return request.getRequestURI().startsWith(this.getFullTabletPath()) || request.getRequestURI().equals(this.getCleanTabletPath()); }
TabletSitePathUrlFactory extends AbstractSitePathUrlFactory implements SiteUrlFactory { public boolean isRequestForSite(HttpServletRequest request) { return request.getRequestURI().startsWith(this.getFullTabletPath()) || request.getRequestURI().equals(this.getCleanTabletPath()); } }
TabletSitePathUrlFactory extends AbstractSitePathUrlFactory implements SiteUrlFactory { public boolean isRequestForSite(HttpServletRequest request) { return request.getRequestURI().startsWith(this.getFullTabletPath()) || request.getRequestURI().equals(this.getCleanTabletPath()); } TabletSitePathUrlFactory(final String tabletPath, final String mobilePath);  TabletSitePathUrlFactory(final String tabletPath, final String mobilePath, final String rootPath); }
TabletSitePathUrlFactory extends AbstractSitePathUrlFactory implements SiteUrlFactory { public boolean isRequestForSite(HttpServletRequest request) { return request.getRequestURI().startsWith(this.getFullTabletPath()) || request.getRequestURI().equals(this.getCleanTabletPath()); } TabletSitePathUrlFactory(final String tabletPath, final String mobilePath);  TabletSitePathUrlFactory(final String tabletPath, final String mobilePath, final String rootPath); boolean isRequestForSite(HttpServletRequest request); String createSiteUrl(HttpServletRequest request); }
TabletSitePathUrlFactory extends AbstractSitePathUrlFactory implements SiteUrlFactory { public boolean isRequestForSite(HttpServletRequest request) { return request.getRequestURI().startsWith(this.getFullTabletPath()) || request.getRequestURI().equals(this.getCleanTabletPath()); } TabletSitePathUrlFactory(final String tabletPath, final String mobilePath);  TabletSitePathUrlFactory(final String tabletPath, final String mobilePath, final String rootPath); boolean isRequestForSite(HttpServletRequest request); String createSiteUrl(HttpServletRequest request);  }