Registry / http-client / httpclient5-fluent

httpclient5-fluent

JSON →
library5.6.1javamavenunverified

Fluent API for Apache HttpClient 5, providing a simplified interface for making HTTP requests.

<dependency> <groupId>org.apache.httpcomponents.client5</groupId> <artifactId>httpclient5-fluent</artifactId> <version>5.6.1</version> </dependency>
INSTALL
IMPORT
SIG · HTTPCLIENT5-FLUENT
H
httpclient5-fluent
http-clientjavav5.6.1
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.

Request
org.apache.hc.client5.http.fluent.Request

Demonstrates making a simple GET request using the Fluent API.

import org.apache.hc.client5.http.fluent.Request; public class HttpExample { public static void main(String[] args) throws Exception { String content = Request.get("https://example.com").execute().returnContent().asString(); System.out.println(content); } }
Debug
Known issues
breakingHttpClient 5 has breaking API changes from HttpClient 4.x; ensure you are using the correct version for your codebase.
fix
Migrate from HttpClient 4.x by updating imports and method calls; refer to migration guide.
affects: 5.x
Upgrade
Version history
5.6.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
Resources
httpclient5-fluent — mvn dependency:get httpclient5-fluent · libregistry