private void parsePathElements(String string){
		// /this/is/the/path?name1=value1&name2=value2....
		string = string.toLowerCase();
		List<String> pathList = new ArrayList<String>();
		int indexQuestMark = string.indexOf("?");
		if(indexQuestMark != -1){
			string = string.substring(0, indexQuestMark);
		}
		while (string.startsWith("/")){
			string = string.substring(1);
		}
		while (string.length() > 0) {
			int nextSep = string.indexOf("/");
			if(nextSep == -1){
				pathList.add(string);
				break;
			}
			pathList.add(string.substring(0, nextSep));
			string = string.substring(nextSep+1);
		}
		pathElements = new String[pathList.size()];
		for(int i=0; i<pathList.size();i++){
			pathElements[i] = pathList.get(i);
		}
	}