jclouds/drivers/okhttp
Andrew Gaul 107741f786 JCLOUDS-1629: Upgrade to Guice 7.0.0
This also changes from javax to jakarta annotations.
2024-02-26 15:27:29 +09:00
..
src JCLOUDS-1629: Upgrade to Guice 7.0.0 2024-02-26 15:27:29 +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 Bump okio from 1.17.2 to 3.4.0 in /drivers/okhttp 2023-07-29 16:16:26 +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();