Class VersionAwareRouterListener

java.lang.Object
io.micronaut.web.router.version.VersionAwareRouterListener
All Implemented Interfaces:
BeanCreatedEventListener<Router>, EventListener

@Singleton @Requires(property="micronaut.router.versioning.enabled",value="true") @Requires(beans=RoutesVersioningConfiguration.class) public class VersionAwareRouterListener extends Object implements BeanCreatedEventListener<Router>
Configuration to decorate Router with version matching logic.
Since:
1.1.0
Author:
Bogdan Oros