private ResourceFetcher getResourceFetcher() {
            String scheme = uri.getScheme() == null ? "file" : uri.getScheme().toLowerCase();
            switch (scheme) {
            case "http":
                return new HttpResourceFetcher(vertx, uri, config, false);
            case "https":
                return new HttpResourceFetcher(vertx, uri, config, true);
            case "file":
                return new FileResourceFetcher(vertx, uri, config);
            default:
                throw new UnsupportedProtocolException(String.format("%s is not supported. Available: http, https and file.", uri.getScheme()));
            }
        }
URI loading registry that pulls configuration from a specified JSON file.
<ul>
  <li>configUri: apiman policy config to load from JSON via file
  ({@link FileResourceFetcher}) or HTTP/S ({@link HttpResourceFetcher}).
  See the corresponding fetcher for additional options.</li>
</ul>

@author Marc Savy {@literal <marc@rhymewithgravy.com>}
@see FileResourceFetcher
@see HttpResourceFetcher
gateway/engine/vertx-polling/src/main/java/io/apiman/gateway/engine/vertx/polling/URILoadingRegistry.java