Registry / networking / httpcore5

httpcore5

JSON →
library5.4.2javamavenunverified

Apache HttpComponents HTTP/1.1 core components for building HTTP clients and servers.

<dependency> <groupId>org.apache.httpcomponents.core5</groupId> <artifactId>httpcore5</artifactId> <version>5.4.2</version> </dependency>
INSTALL
IMPORT
SIG · HTTPCORE5
H
httpcore5
networkingjavav5.4.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.

HttpRequest
org.apache.hc.core5.http.HttpRequest

Create a basic HTTP GET request using HttpCore5.

import org.apache.hc.core5.http.HttpRequest; import org.apache.hc.core5.http.message.BasicHttpRequest; public class Example { public static void main(String[] args) { HttpRequest request = new BasicHttpRequest("GET", "/"); System.out.println("Request line: " + request.getMethod() + " " + request.getUri()); } }
Debug
Known issues
breakingHttpCore5 is a major rewrite from HttpCore4; APIs are not backward compatible.
fix
Use HttpCore5 for new projects; migrate from HttpCore4 carefully.
affects: >=5.0
Upgrade
Version history
5.4.2latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
OpenAI (training)
1
Resources
httpcore5 — mvn dependency:get httpcore5 · libregistry