The MicroProfile REST Client is a type-safe approach to invoke RESTful requests over HTTP. As much as possible the MicroProfile REST Client attempts to use Jakarta RESTful Web Services 3.1 API’s for consistency.
Functional changes
In this release there was an alignment with Jakarta RESTful Web Services 3.1 to be compatible with Jakarta EE 10.
- There was a clarification about closing the REST client when being injected via CDI (348).
- The RestClientBuilder added a new method, baseUri(String) (334).
- The RestClientBuilder also added a new header(String, Object) method for adding headers to the built REST Client. The headers will be merged with headers added via other means (283).