{
// we consumed entire path string
ResourceInvoker invoker = match(request.getHttpMethod(), request.getHttpHeaders().getMediaType(), request.getHttpHeaders().getAcceptableMediaTypes());
if (invoker == null)
throw new NotFoundException("Could not find resource for relative : " + path + " of full path: " + request.getUri().getRequestUri());
uriInfo.pushMatchedURI(path, Encode.decode(path));
populatePathParams(request, matcher, path);
return invoker;
}
if (locator == null)
{