WebRequest request = new WebRequestImpl(origRequest, providers);
localRequest.set(request);
try {
MethodResponse methodResponse;
Type type = request.getWrhapiRequest().getRequestURI().getType();
Method method = request.getWrhapiRequest().getMethod();
if (Type.NO_RESOURCE.equals(type) && Method.OPTIONS.equals(method)) {
ResponseBuilder builder = javax.ws.rs.core.Response.ok();
StringWriter sw = new StringWriter();
Iterator<HttpMethod> iter = httpMethods.iterator();