class ApimlRetryableClient extends RetryableRibbonLoadBalancingHttpClient {

    @Override
    public ServiceInstance choose(String serviceId) {
        super.choose(serviceId);
        return new EurekaDiscoveryClient.EurekaServiceInstance(
            RequestContextUtils.getInstanceInfo().orElseThrow(() -> new RequestContextNotPreparedException("request context not prepared")));
    }

    public  ApimlRetryableClient(CloseableHttpClient delegate, IClientConfig config, ServerIntrospector serverIntrospector, LoadBalancedRetryFactory loadBalancedRetryFactory);

}