public boolean matches ( String schemeParam , String hostParam , String uriParam ) { // If URI mapping enforce a host, ensure it is the one used. if ( this . host != null && ! this . host . equalsIgnoreCase ( schemeParam + "://" + hostParam ) ) { return false ; } if ( this . extension != null && ! uriParam . endsWith ( this . extension ) ) { return false ; } if ( this . path != null && ! uriParam . startsWith ( this . path ) ) { return false ; } return true ; }
Check this matching rule against a request .