protected UrlGroup getUriGroup(HttpServletRequest request) {
        if (urlGroups!=null) {
            String uri = request.getRequestURI();
            for (Map.Entry<AntPathRequestMatcher, UrlGroup> entry : urlGroups.entrySet()) {
                if (entry.getKey().matches(request)) {
                    UrlGroup group = entry.getValue();
                    logger.debug(String.format("Successfully matched URI: %s to a group: %s", uri, group.getGroup()));
                    return group;
                }
            }
            return FALLBACK;
        } else {
            return FALLBACK;
        }
    }
protected UrlGroup getUriGroup ( HttpServletRequest request ) { if ( urlGroups != null ) { String uri = request . getRequestURI ( ) ; for ( Map . Entry < AntPathRequestMatcher , UrlGroup > entry : urlGroups . entrySet ( ) ) { if ( entry . getKey ( ) . matches ( request ) ) { UrlGroup group = entry . getValue ( ) ; logger . debug ( String . format ( "Successfully matched URI: %s to a group: %s" , uri , group . getGroup ( ) ) ) ; return group ; } } return FALLBACK ; } else { return FALLBACK ; } }
@param request
@return null if this request should not be measured.