jclouds/drivers/okhttp
Ignasi Barrera 30aca7d833 Next development version 1.9.2-SNAPSHOT 2015-08-02 11:56:20 +02:00
..
src JCLOUDS-753: Make ConnectionSpec configurable in the OkHttp driver 2014-12-02 18:17:17 +01:00
README.md JCLOUDS-744: Upgrade to OkHttp 2.1.0 and use its native API 2014-11-27 18:44:08 +01:00
pom.xml Next development version 1.9.2-SNAPSHOT 2015-08-02 11:56:20 +02:00

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();