Skip to content

Provide MediaType to AbstractJacksonHttpMessageConverter.customizeReader - #37119

Closed
yashsiwacha wants to merge 1 commit into
spring-projects:mainfrom
yashsiwacha:fix/issue-37094-jackson-customize-reader-media-type
Closed

yashsiwacha wants to merge 1 commit into
spring-projects:mainfrom
yashsiwacha:fix/issue-37094-jackson-customize-reader-media-type

Conversation

@yashsiwacha

Copy link
Copy Markdown
Contributor

Closes gh-37094

This commit adds an overloaded customizeReader method to both AbstractJacksonHttpMessageConverter and AbstractJackson2HttpMessageConverter that accepts a MediaType parameter. This allows subclasses to apply configuration dynamically based on the input content type. The existing 2-argument method is preserved for backward compatibility.

Closes spring-projectsgh-37094

This commit adds an overloaded customizeReader method to both AbstractJacksonHttpMessageConverter and AbstractJackson2HttpMessageConverter that accepts a MediaType parameter. This allows subclasses to apply configuration dynamically based on the input content type.
The existing 2-argument method is preserved for backward compatibility.

Signed-off-by: Yash Siwach <yashsiwach07@gmail.com>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Aug 7, 2026
@bclozel

bclozel commented Aug 7, 2026

Copy link
Copy Markdown
Member

This issue is now triaged yet, let's consider the issue first before suggesting changes. Thanks.

@bclozel bclozel closed this Aug 7, 2026
@bclozel bclozel added status: declined A suggestion or change that we don't feel we should currently apply and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Aug 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: declined A suggestion or change that we don't feel we should currently apply

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Provide MediaType to AbstractJacksonHttpMessageConverter.customizeReader

3 participants