/** * Parses path provided by the application. The path provided cannot contain neither hostname nor protocol. It * can start or end with slash e.g. <i>/tasks/1/</i> or <i>tasks/1</i>. * * @param path Path to be parsed * @return doubly-linked list which represents path given at the input * @deprecated use build */ public JsonPath buildPath(String path) { JsonPath jsonPath = build(path); if(jsonPath != null){ return jsonPath; }else{ throw new RepositoryNotFoundException(path); } }
JsonPath jsonPath = new PathBuilder(resourceRegistry).build(path); Map<String, Set<String>> parameters = getParameters(uriInfo); String method = requestContext.getMethod();