tree: f75581c2f14495925803cfa920a227b6b736f72a [path history] [tgz]
  1. src/
  2. bnd.bnd
  3. pom.xml
  4. README.md
drivers/okhttp/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();