docs: public void parse(String uri) {
          if (uri.startsWith("/")) {
              uri = uri.substring(1);
          }
          
          int pos = uri.indexOf("/");
          if (pos == -1) {
              context = uri;
              repository = "";
              workspace = "";
              path="/";
              return;
          }
          
          if (pos > 0) {
              context = uri.substring(0, pos);
              uri = uri.substring(pos + 1);
          }
          
          //expecting tree here
           uri = uri.substring(5);
          
           pos = uri.indexOf("/ws-");
           repository = uri.substring(0, pos);
           
           uri = uri.substring(repository.length() + 1);
           pos = uri.indexOf("/");
           
           workspace = uri.substring(3, pos);
           path = uri.substring(workspace.length() + 3);
      }