Registry / http-client / okhttp-bom

okhttp-bom

JSON →
library5.3.2javamavenunverified

Bill of Materials for Square's meticulous HTTP client for Java and Kotlin, ensuring consistent dependency versions.

<dependency> <groupId>com.squareup.okhttp3</groupId> <artifactId>okhttp-bom</artifactId> <version>5.3.2</version> </dependency>
INSTALL
IMPORT
SIG · OKHTTP-BOM
O
okhttp-bom
http-clientjavav5.3.2
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.

OkHttpClient
okhttp3.OkHttpClient

Minimal OkHttp client making a GET request.

import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.Response; public class Main { public static void main(String[] args) throws Exception { OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder().url("http://example.com").build(); try (Response response = client.newCall(request).execute()) { System.out.println(response.body().string()); } } }
Debug
Known issues
breakingOkHttp 5.x uses Kotlin coroutines internally; ensure Kotlin stdlib compatibility.
fix
Add kotlin-stdlib dependency matching your Kotlin version.
affects: >=5.0.0
Upgrade
Version history
5.3.2latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
Resources
okhttp-bom — mvn dependency:get okhttp-bom · libregistry