public String resolvedPath() {
		final var result = parameters.stream()
			.filter(p -> p instanceof Parameter.Path)
			.map(Parameter.Path.class::cast)
			.reduce(path, Path::resolve,
				(a, b) -> {
					throw new AssertionError("No parallel resolve allowed.");
				}
			);

		final var unresolved = result.paramNames();
		if (!unresolved.isEmpty()) {
			throw new IllegalStateException("Unresolved parameters: " + unresolved);
		}

		final var queries = parameters.stream()
			.filter(p -> p instanceof Parameter.Query)
			.map(Parameter.Query.class::cast)
			.map(Resource::encodeQuery)
			.collect(Collectors.joining("&", "?", ""));

		return result.path() + queries;
	}
Return the resolved resource path. The path parameter will be replaced by
the real values, if defined.

@return the resolved path
jenetics.incubator/src/main/java/io/jenetics/incubator/restful/Resource.java