jclouds/drivers/okhttp
Andrew Bayer 735324c121 [maven-release-plugin] prepare for next development iteration 2014-05-27 10:26:42 -07:00
..
src Added OkHttp driver to support modern HTTP verbs 2014-01-14 13:11:31 +01:00
README.md Added OkHttp driver to support modern HTTP verbs 2014-01-14 13:11:31 +01:00
pom.xml [maven-release-plugin] prepare for next development iteration 2014-05-27 10:26:42 -07:00

README.md

jclouds OkHttp driver

A driver to use the OkHttp (http://square.github.io/okhttp/) client as an HTTP library in jclouds.

This driver adds support for use of modern HTTP verbs such as PATCH in providers and APIs, and also supports SPDY.

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