request.setOriginalRef(resourceRef);
request.setRootRef(rootRef);
final Response response = new Response(request);
Response.setCurrent(response);
final CallContext callContext = new CallContext(request, response);
final ThreadLocalizedContext tlContext = new ThreadLocalizedContext();
tlContext.set(callContext);
return new ThreadLocalizedUriInfo(tlContext);
}