MicroProfile Rest Client API

Typesafe Rest Client APIs for MicroProfile :: API

License

License

Categories

Categories

CLI User Interface
GroupId

GroupId

be.atbash.mp.rest-client
ArtifactId

ArtifactId

microprofile-rest-client-api
Last Version

Last Version

0.5.1.1
Release Date

Release Date

Type

Type

jar
Description

Description

MicroProfile Rest Client API
Typesafe Rest Client APIs for MicroProfile :: API

Download microprofile-rest-client-api

How to add to project

<!-- https://jarcasting.com/artifacts/be.atbash.mp.rest-client/microprofile-rest-client-api/ -->
<dependency>
    <groupId>be.atbash.mp.rest-client</groupId>
    <artifactId>microprofile-rest-client-api</artifactId>
    <version>0.5.1.1</version>
</dependency>
// https://jarcasting.com/artifacts/be.atbash.mp.rest-client/microprofile-rest-client-api/
implementation 'be.atbash.mp.rest-client:microprofile-rest-client-api:0.5.1.1'
// https://jarcasting.com/artifacts/be.atbash.mp.rest-client/microprofile-rest-client-api/
implementation ("be.atbash.mp.rest-client:microprofile-rest-client-api:0.5.1.1")
'be.atbash.mp.rest-client:microprofile-rest-client-api:jar:0.5.1.1'
<dependency org="be.atbash.mp.rest-client" name="microprofile-rest-client-api" rev="0.5.1.1">
  <artifact name="microprofile-rest-client-api" type="jar" />
</dependency>
@Grapes(
@Grab(group='be.atbash.mp.rest-client', module='microprofile-rest-client-api', version='0.5.1.1')
)
libraryDependencies += "be.atbash.mp.rest-client" % "microprofile-rest-client-api" % "0.5.1.1"
[be.atbash.mp.rest-client/microprofile-rest-client-api "0.5.1.1"]

Dependencies

compile (2)

Group / Artifact Type Version
javax.ws.rs : javax.ws.rs-api jar 2.0
javax.annotation : javax.annotation-api jar 1.2

provided (2)

Group / Artifact Type Version
javax.enterprise : cdi-api jar 1.1
javax.inject : javax.inject jar 1

Project Modules

There are no modules declared in this project.

Atbash MicroProfile rest client

MicroProfile rest client defines a type-safe approach for invoking RESTful services.

This Atbash implementation has the following goals

. Independent implementation, not part of a larger framework or MP server implementation. . Must be useable on any Java EE 7 and Java EE 8 compliant server . Must be useable from Java 7

Compliant, not certified.

Since we liked to have this Atbash implementation to be based on Java 7, The API code (Of Eclipse MicroProfile Rest client) is ported to Java 7 (as it is based on Java 8)

Due to the usage of some Java 8 features, the port to Java 7 is not identical and thus some small differences exists.

For example the programmatic retrieval of the Rest Client is done like this

AbstractRestClientBuilder.newBuilder().build(HelloService.class);

But official way is

RestClientBuilder.newBuilder().build(HelloService.class);

Work in Progress

Only the basic features of the Rest Client 1.0 specification is implemented and ported. Supported is

. Calling JAX-RS endpoint. . Using PathParam, QueryParam and HeaderParam . Using methods GET, POST, PUT and DELETE . Using CDI and programmatic lookup . Using JSON payloads

Not supported for the moment

. Custom exception mapping

be.atbash.mp.rest-client

Atbash

Versions

Version
0.5.1.1
0.5.1
0.5