private void setPathInfoAndRequestURI( MockHttpServletRequest httpServletRequest, String imageRequestPath) { httpServletRequest.setRequestURI("/site/" + site1.getKey() + "/" + imageRequestPath); httpServletRequest.setPathInfo("/" + site1.getKey() + "/" + imageRequestPath); }
private String createSiteSessionBaseName(SiteEntity site) { return DEVICE_CLASS_CACHE_BASE_NAME + site.getKey().toInt(); }
protected String createForcedValueKey(SiteEntity site) { return DEVICE_CLASS_FORCED_BASE_NAME + site.getKey(); }
private String createForcedDeviceClassKey(SiteEntity site) { return DEVICE_CLASS_FORCED_BASE_NAME + site.getKey(); }