Skip to content

Introduce SmartHttpMessageConverter #33118

Closed
@sdeleuze

Description

@sdeleuze

SmartHttpMessageConverter adresses several GenericHttpMessageConverter limitations, while providing a contract more consistent with WebFlux Encoder and Decoder, with the following differences:

  • A ResolvableType parameter is used instead of a Type one.
  • The source (MethodParameter today, maybe KType tomorrow) can be retrieved via the ResolvableType source.
  • No contextClass parameter (can be deduced from the MethodParameter).
  • A @Nullable Map<String, Object> hints additional parameter for write and read methods.

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