RWX :: HTTP Client API

CommonJava top-level parent POM.

License

License

GroupId

GroupId

org.commonjava.rwx
ArtifactId

ArtifactId

rwx-http
Last Version

Last Version

1.1
Release Date

Release Date

Type

Type

jar
Description

Description

RWX :: HTTP Client API
CommonJava top-level parent POM.

Download rwx-http

How to add to project

<!-- https://jarcasting.com/artifacts/org.commonjava.rwx/rwx-http/ -->
<dependency>
    <groupId>org.commonjava.rwx</groupId>
    <artifactId>rwx-http</artifactId>
    <version>1.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.commonjava.rwx/rwx-http/
implementation 'org.commonjava.rwx:rwx-http:1.1'
// https://jarcasting.com/artifacts/org.commonjava.rwx/rwx-http/
implementation ("org.commonjava.rwx:rwx-http:1.1")
'org.commonjava.rwx:rwx-http:jar:1.1'
<dependency org="org.commonjava.rwx" name="rwx-http" rev="1.1">
  <artifact name="rwx-http" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.commonjava.rwx', module='rwx-http', version='1.1')
)
libraryDependencies += "org.commonjava.rwx" % "rwx-http" % "1.1"
[org.commonjava.rwx/rwx-http "1.1"]

Dependencies

compile (9)

Group / Artifact Type Version
org.commonjava.util : jhttpc jar 1.2
org.apache.httpcomponents : httpclient jar 4.4
commons-lang : commons-lang jar
org.commonjava.rwx : rwx-core jar 1.1
org.commonjava.rwx : rwx-bindings jar 1.1
commons-io : commons-io jar
org.slf4j : slf4j-api jar
junit : junit jar
org.hamcrest : hamcrest-core jar

runtime (1)

Group / Artifact Type Version
org.slf4j : log4j-over-slf4j jar

test (2)

Group / Artifact Type Version
ch.qos.logback : logback-core jar
ch.qos.logback : logback-classic jar

Project Modules

There are no modules declared in this project.

RWX XML-RPC Object-Binding API

RWX is a set of APIs for dealing with XML-RPC interactions in Java. It offers an annotation-based object-binding API for Java objects.

It uses Java Annotation Processor API to generate parser/renderer Java source files according to RWX annotations. The top-level RWXMapper uses those generated classes under the hood.

You will need four steps to use RWX:

  1. Create model classes according to your XML-RPC req/response format.
  2. Annotate model classes with RWX annotations.
  3. Generate sources from annotated classes (an example POM is provided in the rwx-test module).
  4. Call RWXMapper.render/parse methods to convert between XML-RPC req/resp strings and Java objects.

The first two steps can be simplified by binding a field to java.lang.Object if you do not know the exact Java type. In such cases, RWX will bind a List/Map based data structure to the field and you can always interpret it in your program.

org.commonjava.rwx

Red Hat NOS

Middleware pipeline content management projects

Versions

Version
1.1
1.0
0.3