@Override public String getTemplate(HandlerContext context) throws IOException { return ResourceUtils.getContentFromInputStream( Thread.currentThread().getContextClassLoader().getResourceAsStream(PAGE_LOCATION)); }
@Override protected String doGetContent( Asset asset, Map<String, Object> parameters, HttpServletRequest request) { return ResourceUtils.getContentFromUrl(request, asset.getProcessedConfigLocation(), true); }