code: static <T extends ContentMeta> boolean matches(Path path, T content, PathSelector pathSelector1, boolean default1,
              ResourceSelector<T> resourceSelector1, boolean default2) {
  
          boolean result;
          if (null != pathSelector1) {
              result = pathSelector1.matchesPath(path);
          } else {
              result = default1;
          }
          boolean result1;
          if (null != resourceSelector1 && null != content) {
              result1 = resourceSelector1.matchesContent(content);
          } else {
              result1 = default2;
          }
          return result && result1;
      }
docs: Return true if the path and content match the specified path selector and resource selector
  
  @param path              path
  @param content           content
  @param pathSelector1     selector, or null matches all paths
  @param default1          default result for path match if the path selector is null
  @param resourceSelector1 resource selector, or null matches all resources
  @param default2          default result for resource match if the resource selector or resource content is null
  @param <T>               type
  
  @return true if both match