Skip to content

@RequestHeader and POJO binding #23838

Closed
Closed
@tsarenkotxt

Description

@tsarenkotxt

Hi, do you have plans to add support for header binding with POJO?

This issue based on stackoverflow question @RequestHeader not binding in POJO but binding only in variable

IMHO, it would be a useful feature, instead of writing custom and similar HandlerMethodArgumentResolver

Some ideas:
add an annotation for method args - @Header
add an annotation for POJO fields - @HeaderParam
add support for validation - @Valid
add support for immutable POJO

Thanks

Metadata

Metadata

Assignees

Labels

status: invalidAn issue that we don't feel is valid

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions