Registry / http-client / httpclient-osgi

httpclient-osgi

JSON →
library4.5.14javamavenunverified

Apache HttpComponents Client packaged as an OSGi bundle for use in modular environments.

<dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient-osgi</artifactId> <version>4.5.14</version> </dependency>
INSTALL
IMPORT
SIG · HTTPCLIENT-OSGI
H
httpclient-osgi
http-clientjavav4.5.14
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.

CloseableHttpClient
org.apache.http.impl.client.CloseableHttpClient

Minimal example creating a CloseableHttpClient.

import org.apache.http.impl.client.CloseableHttpClient; import org.apache.http.impl.client.HttpClients; public class HttpClientExample { public static void main(String[] args) throws Exception { try (CloseableHttpClient httpClient = HttpClients.createDefault()) { System.out.println("HTTP client created: " + httpClient); } } }
Debug
Known issues
gotchaVersion 4.5.x is in maintenance mode; consider upgrading to HttpClient 5.x for new projects.
fix
Use org.apache.httpcomponents.client5:httpclient5 for new development.
affects: >=4.5.0
Upgrade
Version history
4.5.14latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
24 hits · last 30 days
node
20
Amazon
1
OpenAI (training)
1
Resources
httpclient-osgi — mvn dependency:get httpclient-osgi · libregistry