private ProbeContext buildProbeContext(Api api, ApiContract contract, String apiKey, String url) {
        return new ProbeContext()
                .setApi(api)
                .setContract(contract)
                .setApiKey(apiKey)
                .setUrl(url);
    }
@see IApiResource#getApiEndpoint(java.lang.String, java.lang.String, java.lang.String)
gateway/api/rest-impl/src/main/java/io/apiman/gateway/api/rest/impl/ApiResourceImpl.java