Skip to content

Commit 8e3db69

Browse files
authored
Clarify changes in MicroProfile Rest Client 4.0
Following changes were made - Removed point about namespace migration as this already was done earlier. - Updated the description of MicroProfile Rest Client 4.0 to clarify changes and added details about the new header method.
1 parent efeeec8 commit 8e3db69

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

modules/ROOT/pages/chapter11/chapter11.adoc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,10 @@ This chapter introduces MicroProfile Rest Client 4.0, a type-safe framework for
1919

2020
== What's New in MicroProfile Rest Client 4.0
2121

22-
MicroProfile Rest Client 4.0 aligns with Jakarta EE 10 and includes these key changes:
22+
MicroProfile Rest Client 4.0 includes these key changes:
2323

2424
* **Mandatory `@RestClient` qualifier** - Required for CDI injection to prevent ambiguous bean resolution
25-
* **Enhanced `RestClientBuilder`** - New `baseUri(String)` method accepts a String directly without `URI.create()`
26-
* **Namespace migration** - All `javax.*` packages migrated to `jakarta.*`
25+
* **Enhanced `RestClientBuilder`** - Added a new `baseUri(String)` method that accepts a String directly without `URI.create()` and a new `header(String, Object)` method for adding headers ot the REST Client.
2726

2827
NOTE: Version 4.0 requires Jakarta EE 10 and is not compatible with earlier Jakarta EE or Java EE versions.
2928

0 commit comments

Comments
 (0)