HttpUtil.sendError(res, HttpServletResponse.SC_BAD_REQUEST, "Failed to parse request.");
logger.warn("Failed to parse request.", e);
return;
}
HttpRequest request = new HttpRequest(req, headers, uriInfo, method);
HttpResponse response = new HttpResponse(res);
boolean localeInitializedByServlet = false;
try
{