code: public boolean matches(String uri) {
  		if (uri == null) {
  			return false;
  		}
  		Matcher matcher = this.matchPattern.matcher(uri);
  		return matcher.matches();
  	}
docs: Indicate whether the given URI matches this template.
  @param uri the URI to match to
  @return {@code true} if it matches; {@code false} otherwise