class MustacheRenderer implements Renderer {

    @Override
    public void render(String path, Request request) throws IOException {
        if (path == null) {
            throw new CannotRenderException("Cannot dispatch a null path");
        }

        try {
            REQUEST_HOLDER.set(request);
            factory
                    .compile(path)
                    .execute(request.getWriter(), buildScope(request));
            REQUEST_HOLDER.remove();

        } catch(MustacheException ex) {
            throw new IOException("failed to MustacheRenderer.render(" + path + ",request)", ex);
        }
    }

    public  MustacheRenderer();
    public  MustacheRenderer(MustacheFactory factory);

}