public ResourceMethod matchSimple(HttpRequest request, String path, int start)
{
UriInfo uriInfo = request.getUri();
if (start + segment.length() == path.length()) // we've reached end of string
{
ResourceMethod invoker = match(request.getHttpMethod(), request);
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));
return invoker;