-
Notifications
You must be signed in to change notification settings - Fork 38.6k
Closed
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement
Milestone
Description
Lines 241 to 245 in 1a52c56
private Class<?>[] getValidationGroups() { | |
return ((shouldValidateArguments() || shouldValidateReturnValue()) && this.methodValidator != null ? | |
this.methodValidator.determineValidationGroups(getBean(), getBridgedMethod()) : EMPTY_GROUPS); | |
} | |
can call getValidationGroups()
in the InvocableHandlerMethod
construction method, and take validationGroups
returned by getValidationGroups()
method as a member variable. Avoid reflecting to obtain validationGroups
every time the call is made
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement