Gyrex/Concepts/Http Application Extensions
Gyrex provides a concept for defining HTTP applications. This article discusses an approach for providing extensions to those applications in a generic way.
- Allow to contribute static resources, JAX-RS resources, WebSockets, etc. to an already defined application.
- Ability to add security/authentication filters to already defined applications.
- Backwards compatibility with existing applications.
- Opt-in model
- define #initializeExtensions method in Application class which must be called by participating applications