Skip to content

Avoid re-retrieval of @ResponseStatus annotation for each request [SPR-15227] #19792

Closed
@spring-projects-issues

Description

@spring-projects-issues

Violeta Georgieva opened SPR-15227 and commented

Hi,

Currently @ResponseStatus is calculated every time when a request is performed.

https://github.com/spring-projects/spring-framework/blob/master/spring-webflux/src/main/java/org/springframework/web/reactive/result/AbstractHandlerResultHandler.java#L166

It is better to calculate it when constructing the MethodParameter.

Regards,
Violeta


Affects: 4.3.7, 5.0 M4

Issue Links:

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