private static void releaseReference(ResourceReference ref) {
        try {
            if (ref != null) ref.close();
        } catch (Throwable t) {
            log.log(Level.WARNING, "Failed to close request reference", t);
        }
    }
Implementation of a Jetty {@link Handler} that dispatches requests to JDisc's {@link com.yahoo.jdisc.handler.RequestHandler}.

@author bjorncs
container-core/src/main/java/com/yahoo/jdisc/http/server/jetty/JdiscDispatchingHandler.java