int debugSegmentIndex = fullPath.indexOf(DEBUG_PATH_SEGMENT);
RestRequestBuilder requestBuilder = new RestRequestBuilder(request);
UriBuilder uriBuilder = UriBuilder.fromUri(request.getURI());
uriBuilder.replacePath(request.getURI().getPath().substring(0, debugSegmentIndex - 1));
requestBuilder.setURI(uriBuilder.build());
handleResourceRequest(requestBuilder.build(), requestContext, callback, true);
}
}, callback);