mirror of https://github.com/apache/jclouds.git
5a3cfe5dbe
OSGi bundle for jclouds-okhttp should import okio package with correct version range. Currently, there is no version range specified, causing it to be wired to a higher version than intended in complex environments that have more than one bundle for okio installed. |
||
---|---|---|
.. | ||
src | ||
README.md | ||
pom.xml |
README.md
jclouds OkHttp driver
A driver to use the OkHttp (http://square.github.io/okhttp/) client as an HTTP library in jclouds.
To use the driver, you just need to include the OkHttpCommandExecutorServiceModule
when creating
the context:
ContextBuilder.newBuilder("provider")
.endpoint("endpoint")
.credentials("identity", "credential")
.modules(ImmutableSet.of(new OkHttpCommandExecutorServiceModule()))
.build();