public PathImpl fsWalk(String userPath,Map<String,Object> attributes,String uri){
  String path;
  String query=null;
  int queryIndex=uri.indexOf('?');
  if (queryIndex >= 0) {
    path=uri.substring(0,queryIndex);
    query=uri.substring(queryIndex + 1);
  }
 else   path=uri;
  if (path.length() == 0)   path="/";
  return create(_root,userPath,attributes,path,query);
}

public PathImpl fsWalk ( String userPath , Map < String , Object > attributes , String uri ) { String path ; String query = null ; int queryIndex = uri . indexOf ( '?' ) ; if ( queryIndex >= 0 ) { path = uri . substring ( 0 , queryIndex ) ; query = uri . substring ( queryIndex + 1 ) ; } else path = uri ; if ( path . length ( ) == 0 ) path = "/" ; return create ( _root , userPath , attributes , path , query ) ; }
scans the path portion of the uri , i . e . everything after the host and port .
