Registry / http-client / cxf-rt-rs-client

cxf-rt-rs-client

JSON →
library4.2.0javamavenunverified

JAX-RS client implementation from Apache CXF, providing a fluent API for consuming RESTful web services.

<dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-rs-client</artifactId> <version>4.2.0</version> </dependency>
INSTALL
IMPORT
SIG · CXF-RT-RS-CLIENT
C
cxf-rt-rs-client
http-clientjavav4.2.0
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.

WebClient
org.apache.cxf.jaxrs.client.WebClient

Creates a JAX-RS WebClient to make a GET request to a REST API.

import org.apache.cxf.jaxrs.client.WebClient; import javax.ws.rs.core.MediaType; public class Quickstart { public static void main(String[] args) { WebClient client = WebClient.create("http://api.example.com"); client.accept(MediaType.APPLICATION_JSON); String response = client.get(String.class); System.out.println("Response: " + response); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
4.2.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
25 hits · last 30 days
node
20
Amazon
1
Resources
cxf-rt-rs-client — mvn dependency:get cxf-rt-rs-client · libregistry