code: protected boolean match(final String path) {
  
          final String methodName = "match";
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
              Tr.debug(tc, methodName, this, path, ignoreCase, wildcard);
          }
  
          if (this.matcher == null) {
              if (ignoreCase) {
                  if (pattern.equalsIgnoreCase(path)) {
                      return true;
                  }
                  if (wildcard && path.toLowerCase().startsWith(pattern)) {
                      return true;
                  }
              } else {
                  if (pattern.equals(path)) {
                      return true;
                  }
                  if (wildcard && path.startsWith(pattern)) {
                      return true;
                  }
              }
          } else {
              return this.matcher.matcher(path).matches();
          }
  
          return false;
      }
docs: Check if the URI matches the pattern.
  
  @param uri The URI to check against our pattern.
  @return Whether or not the URI matches our pattern.