Skip to content

Protected methods in HttpMessageConverterExtractor and DecoderHttpMessageReader to extract MediaType [SPR-16856] #21396

@spring-projects-issues

Description

@spring-projects-issues

GanMing opened SPR-16856 and commented

Some server-side responses to ContentType are incorrect, but we expect to use the right way to extract data. Now I can specify a correct MediaType to extract.

Usually we may need to access many third party services. It is extremely difficult for us to ask all service providers to return ContentType to us according to the standard requirements. So we need to have a capability to specify the MediaType itself.


Affects: 5.0.6

Referenced from: pull request #1834, and commits fd946b8

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: taskA general task

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions