class UrlUtils {

  static boolean isItemMatch(String pattern, String value) {
    if (pattern == null) {
      return value == null;
    } else {
      return "*".equals(pattern) || pattern.equals(value);
    }
  }

}