Skip to content

Conversation

wendigo
Copy link
Contributor

@wendigo wendigo commented Sep 29, 2025

Injecting header as a String directly into the Jakarta's managed bean will use reflection to convert to desired type. Injecting managed HttpHeaders avoid that kind of a conversion.

Description

Additional context and related issues

Release notes

(x) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text:

## Section
* Fix some things. ({issue}`issuenumber`)

Injecting header as a String directly into the Jakarta's managed bean
will use reflection to convert to desired type. Injecting managed HttpHeaders
avoid that kind of a conversion.
@wendigo wendigo merged commit ab38a19 into master Sep 30, 2025
102 of 105 checks passed
@wendigo wendigo deleted the serafin/type-converters branch September 30, 2025 08:00
@github-actions github-actions bot added this to the 478 milestone Sep 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants