Matcher schemaMatcher = SCHEMA_PATTERN.matcher(requestURI);
Pipeline<SAXPipelineComponent> pipeline = new CachingPipeline<SAXPipelineComponent>();
final String wadlURL = request.getRequestURL().
substring(0, request.getRequestURL().indexOf("/doc")) + "/?_wadl";
pipeline.addComponent(new XMLGenerator(new URL(wadlURL)));
if ("/".equals(requestURI)) {
XSLTTransformer xslt = new XSLTTransformer(getClass().getResource("/wadl2html/index.xsl"));
Map<String, Object> parameters = new HashMap<String, Object>();
parameters.put("contextPath", request.getContextPath());