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()));
        }
    }
Excepute the fetcher and load the resources.
gateway/engine/vertx-polling/src/main/java/io/apiman/gateway/engine/vertx/polling/PolicyConfigLoader.java