Prototype to test Grails mobile vs desktop capabilities using afterInterceptor