Description
Interceptors can either be applied statically at build time or dynamically at runtime. It is unclear whether the current set of Sting applications could benefit from this feature or not. To enable interceptors in Sting we would need to add another annotation and possibly a separate package for managing interceptor types. The annotation would either select all public methods or all non-private methods as candidates for interception, allowing the developer to override specific methods to mark them as overridable or as intercepted by different interceptors. The framework would need to make sure all intercepted methods could be overridden.
This feature would expand Stings use case to almost all server-side scenario but it comes at the cost of increased complexity which may not be justified.