public Resource<T> params(Parameter... parameters) {
		final var params = parameters().stream()
			.collect(Collectors.toMap(Parameter::key, Function.identity()));
		for (var parameter : parameters) {
			params.put(parameter.key(),parameter);
		}

		return new Resource<>(type, path, params.values(), body, method);
	}
Set the resource parameters: path, query, and header.

@param parameters the resource parameters
@return a new resource
jenetics.incubator/src/main/java/io/jenetics/incubator/restful/Resource.java