-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Closed
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: duplicateA duplicate of another issueA duplicate of another issuetype: enhancementA general enhancementA general enhancement
Description
Mark Pollack opened SPR-7793 and commented
Other MVC framework such as Ruby on Rails and ASP.NET MVC support interception after parameter binding has occured. Spring MVC should support this extension point. The use case driving this are storing of MVC event analytics data in NoSQL databases such as MongoDB. The current filter support in MVC is before binding has taken place and therefore harder to access information that will be converted to objects at the time of controller invocation.
for an example implementation.
These are called 'action filters' in Ruby on Rails/ASP.NET MVC
http://guides.rubyonrails.org/action_controller_overview.html
http://www.asp.net/mvc/tutorials/understanding-action-filters-cs
Affects: 3.0 GA
Issue Links:
- @MVC should provide an "onBind" hook prior to automatic validation [SPR-6437] #11103
@MVC
should provide an "onBind" hook prior to automatic validation ("duplicates")
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: duplicateA duplicate of another issueA duplicate of another issuetype: enhancementA general enhancementA general enhancement