private void processData() {
        if (rawData.length() == 0) {
            log.warn("Remote file at {0} was empty.", uri);
            return;
        }
        try {
            JsonObject json = new JsonObject(rawData.toString("UTF-8").trim());
            log.trace("Processing JSON: {0}", json);
            if (clientResultHandler != null)
                clients = requireJsonArray("clients", json, Client.class);
            if (apiResultHandler != null)
                apis = requireJsonArray("apis", json, Api.class);
        } catch (DecodeException e) {
            exceptionHandler.handle(e);
        }
    }
Excepute the fetcher and load the resources.
gateway/engine/vertx-polling/src/main/java/io/apiman/gateway/engine/vertx/polling/PolicyConfigLoader.java