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 mapping, CDI support, and integration with other MicroProfile specifications. We will look at MP-RC in more detail by starting with the definition...