Skip to content

Align HttpMessageConverters builder with WebFlux codecs variants #35187

@bclozel

Description

@bclozel

As of #33894, we introduced a new HttpMessageConverters API. While this achieved our goal of focusing converters classpath detection in a single place and avoiding waste, a single HttpMessageConverters instance for both client and server added more complexity for developers.

We should better align the API here with the WebFlux CodecsConfigurer to opt for a client/server flavor as the first step in the builder. While this make the sharing of converter instances between server and client, this makes a simpler API and separates concerns.

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions