Avoid re-retrieval of @ResponseStatus annotation for each request [SPR-15227] #19792
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
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:
The text was updated successfully, but these errors were encountered: