Registry / http-client / okhttp-apache

okhttp-apache

JSON →
library2.7.5javamavenunverified

OkHttp Apache provides an Apache HttpClient compatibility layer for the OkHttp HTTP client.

<dependency> <groupId>com.squareup.okhttp</groupId> <artifactId>okhttp-apache</artifactId> <version>2.7.5</version> </dependency>
INSTALL
IMPORT
SIG · OKHTTP-APACHE
O
okhttp-apache
http-clientjavav2.7.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

OkApacheClient
com.squareup.okhttp.apache.OkApacheClient

Create an Apache HttpClient backed by OkHttp.

import com.squareup.okhttp.apache.OkApacheClient; import org.apache.http.client.HttpClient; public class Example { public static void main(String[] args) { HttpClient client = new OkApacheClient(); System.out.println("Created OkHttp Apache client"); } }
Debug
Known issues
breakingOkHttp Apache module is deprecated in favor of OkHttp 3.x native API.
fix
Migrate to okhttp3 and use OkHttpClient directly.
affects: >=2.7.0
Upgrade
Version history
2.7.5latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Amazon
1
Resources
okhttp-apache — mvn dependency:get okhttp-apache · libregistry