Atbash Rest Client

Atbash Rest Client parent

License

License

Categories

Categories

CLI User Interface
GroupId

GroupId

be.atbash.mp.rest-client
ArtifactId

ArtifactId

rest-client-parent
Last Version

Last Version

0.5.1.1
Release Date

Release Date

Type

Type

pom
Description

Description

Atbash Rest Client
Atbash Rest Client parent
Source Code Management

Source Code Management

http://github.com/atbashEE/atbash-rest-client/tree/master

Download rest-client-parent

How to add to project

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

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • api
  • impl
  • example

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