Пример #1
0
 public static void setCurrentPath(Path path) {
   /* #ifdef JAVA2 */
   pathLocation.set(path);
   /* #else */
   // defaultPath = path;
   /* #endif */
 }
Пример #2
0
 /**
  * Constructor.
  *
  * @param r HTTP servlet request
  */
 BXServletRequest(final HttpServletRequest r) {
   req = r;
   method = Method.valueOf(r.getMethod());
   url = r.getRequestURL().toString(); // MiltonUtils.stripContext(r);
   REQUEST.set(r);
 }