jclouds/drivers/okhttp
Andrew Gaul e629447915 Apache jclouds 2.3.0-rc1 release 2021-02-28 22:27:49 +09:00
..
src fix failed testSSLConnectionFailsIfOnlyHttpConfigured 2021-02-12 18:57:46 +09:00
README.md JCLOUDS-744: Upgrade to OkHttp 2.1.0 and use its native API 2014-11-27 18:44:08 +01:00
bnd.bnd Onboard bnd-configuration files, one per module 2020-10-26 19:58:41 +09:00
pom.xml Apache jclouds 2.3.0-rc1 release 2021-02-28 22:27:49 +09: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();