if ("OPTIONS".equals(method)) { // Only allow OPTIONS to support CORS preflight.
return;
}
}
ObjectGraph requestGraph = GLOBAL_GRAPH
.plus(new RequestModule(request, response, registeredAction.getPath()))
.plus(REQUEST_MODULES);
Metrics metrics = requestGraph.get(Metrics.class);
try {
requestGraph.inject(action).run();
} catch (HttpErrorException e) {