When i am migrating my project from grails-2.4.4 to grails-3.2.0. Configration : Java 8 Grails 3.2.0 Gradle 3.1.
I am also migrating filters to interceptors.
Here is my interceptor :
class MemoryUsageInterceptor {
MemoryUsageInterceptor() {
println(">>> MemoryUsageInterceptor constructor")
matchAll()
}
boolean before() {
println(">>> MemoryUsageInterceptor before")
true
}
boolean after() { true }
void afterView() {
// no-op
}
}
When my application is up then interceptor constructor is called. But its action is not called. Can you please tell me where i am wrong.