private boolean isProxied ( HttpServletRequest httpServletRequest ) { if ( Proxy . isProxyClass ( httpServletRequest . getClass ( ) ) ) { InvocationHandler handler = Proxy . getInvocationHandler ( httpServletRequest ) ; return handler instanceof ServletRequestInvocationHandler ; } return false ; }
Check if this request is already proxied by pax wicket