protected boolean excludeRequest ( HttpServletRequest request ) { if ( ArrayUtils . isNotEmpty ( urlsToExclude ) ) { for ( String pathPattern : urlsToExclude ) { if ( pathMatcher . match ( pathPattern , HttpUtils . getRequestUriWithoutContextPath ( request ) ) ) { return true ; } } } return false ; }
Returns trues if the request should be excluded from processing .