private URI parseApiEndpoint(Api api) {
        try {
            return new URI(api.getEndpoint());
        } catch (URISyntaxException e) {
            throw new RuntimeException(e);
        }
    }
Constructor
@param vertx a vertx instance
@param config the config
gateway/platforms/vertx3/vertx3/src/main/java/io/apiman/gateway/platforms/vertx3/connector/ConnectorFactory.java