ThreadLocalResteasyProviderFactory.push(providerFactory);
}
HttpHeaders headers = ServletUtil.extractHttpHeaders(request);
UriInfoImpl uriInfo = ServletUtil.extractUriInfo(request, servletMappingPrefix);
HttpResponse theResponse = createServletResponse(response);
HttpRequest in = createHttpRequest(httpMethod, request, headers, uriInfo, theResponse);
try
{
ResteasyProviderFactory.pushContext(HttpServletRequest.class, request);