8000 Consider supporting interceptors · Issue #15 · sting-ioc/sting · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Consider supporting interceptors #15
Open
@realityforge

Description

@realityforge

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0