O'Reilly logo

Hands-On Enterprise Java Microservices with Eclipse MicroProfile by Scott Stark, Antoine Sabot-Durand, Pavol Loffay, Jeff Mesnil, Heiko W. Rupp, Cesar Saavedra

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Introduction to the MicroProfile REST Client and its capabilities

The MicroProfile REST Client (MP-RC) provides an API for type-safe invocation on REST endpoints. It can be used from applications to perform remote invocations on other services.

It leverages JAX-RS annotations on Java interfaces to describe the actual contract with remotes services. These interfaces are then used to create client proxies that hide much of the underlying HTTP communication.

The MP-RC specification defines the requirements for leveraging the JAX-RS annotations on the Java interface, as well as MP-RC-specific annotations to augment behavior, including how incoming request headers should be propagated, how to augment JAX-RS behaviors using providers, exception ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required