public static HttpSession getHttpSession ( ) { final HttpServletRequest request = WicketComponentExtensions . getHttpServletRequest ( ) ; if ( request != null ) { final HttpSession session = request . getSession ( false ) ; if ( session != null ) { return session ; } } return null ; }
Gets the current http session .