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