Skip to content

Add method level callback for HttpRequestValues initialization #34699

Closed
@rstoyanchev

Description

@rstoyanchev

We initialize HttpRequestValues from @HttpExchange annotations, and invoke argument resolvers to have request values added. It would be useful to have an additional callback that takes into account the method and all arguments with the ability to contribute to the HttpRequestValues.

Spring Security can use this to check custom annotations, allow use of SpEL expressions that reference method arguments, and add request attributes. These can in turn be used for conditional processing in a client interceptor as usual.

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