jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ignasi Barrera <notificati...@github.com>
Subject Re: [jclouds] JCLOUDS-753: Make ConnectionSpec configurable in the OkHttp driver (#619)
Date Sun, 30 Nov 2014 20:23:28 GMT
>        private final HostnameVerifier verifier;
>        private final Supplier<SSLContext> untrustedSSLContextProvider;
>        private final HttpUtils utils;
>  
> +      @Inject(optional = true)
> +      private Supplier<SSLContext> sslContextSupplier;
> +
> +      @Inject(optional = true)

Oh, that makes sense. This approach is already used in Chef to [bind Ohai info](https://github.com/jclouds/jclouds/blob/master/apis/chef/src/main/java/org/jclouds/ohai/config/OhaiModule.java#L80-L88)
and makes perfect sense to use it here too. Thanks for the suggestion!

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/619/files#r21063124
Mime
View raw message