code: protected String getSub(String path) {
          int slash = path.indexOf('/');
          if (slash > 0 && slash < path.length() - 1)  // the first part of the path is what got us here
              return path.substring(slash + 1);
          else
              return null;
      }
docs: Minus the base path that triggered this service.