public static RequestContext get() {
        if (CURRENT_CONTEXT.get() == null) {
            synchronized (RequestContext.class) {
                if (CURRENT_CONTEXT.get() == null) {
                    createContext();
                }
            }
        }

        // ensure that RequestContextV1 is also initialized for this request
        RequestContextV1.get();

        return CURRENT_CONTEXT.get();
    }
public static RequestContext get ( ) { if ( CURRENT_CONTEXT . get ( ) == null ) { synchronized ( RequestContext . class ) { if ( CURRENT_CONTEXT . get ( ) == null ) { createContext ( ) ; } } } RequestContextV1 . get ( ) ; return CURRENT_CONTEXT . get ( ) ; }
createContext called for every request in the filter