throws ResourceNotFoundException {
String path = req.getRequestURI().substring(
req.getContextPath().length());
ParserManager pm = new ParserManager(exPolicy);
pm.setParsers(parsers);
pm.setRequest(req);
pm.select(path);
Params params = pm.getSelectedParam();
PatternParser selectedParser = pm.getSelectedParser();
logger.log(Level.FINE, "selectedParser: " + selectedParser);
if (params == null) {
throw new ResourceNotFoundException(path + "に対応するフォーマットがありません");
}