public static final HttpServletRequest getCurrentRequest() {
        return currentRequest.get();
    }
A simple filter that makes the current http request available via a thread local variable.

@author eric.wittmann@redhat.com
gateway/platforms/war/src/main/java/io/apiman/gateway/platforms/war/filters/HttpRequestThreadLocalFilter.java