SubResourceMethodDescriptorImpl(PathValue path, Method method, String httpMethod, List<MethodParameter> parameters,
AbstractResourceDescriptor parentResource, List<MediaType> consumes, List<MediaType> produces,
MethodInvoker invoker)
{
this.path = path;
this.uriPattern = new UriPattern(path.getPath());
this.method = method;
this.httpMethod = httpMethod;
this.parameters = parameters;
this.parentResource = parentResource;
this.consumes = consumes;