1.1.2 Web Features 3.0.10

See the light - agile, industrial strength, rapid web application development made easy

(Quick Reference) # 1.1.2 Web Features - Reference Documentation Authors: Graeme Rocher, Peter Ledbrook, Marc Palmer, Jeff Brown, Luke Daley, Burt Beckwith, Lari Hotari Version: 3.0.10 ## 1.1.2 Web Features #### New Interceptors API In previous versions of Grails, filters were used to define logic that intercepts controller action execution. As of Grails 3.0, this API is deprecated and has been replaced by the new Interceptor API. An example interceptor can be seen below:

    class MyInterceptor {  boolean before() { true }  boolean after() { true }  void afterView() {
        // no-op
      }}
| Quick Reference (hide)