@Override
    public void init(Router router) {
        this.router = router;
        configureReflections();

        controllers = Maps.newHashMap();
        methods = Sets.newHashSet();

        processFoundMethods();
        sortMethods();
        registerMethods();
    }
@Override
    public void init(Router router) {
        this.router = router;
        configureReflections();

        controllers = Maps.newHashMap();
        methods = Sets.newHashSet();

        processFoundMethods();
        sortMethods();
        registerMethods();
    }
@ Override public void init ( Router router ) { this . router = router ; configureReflections ( ) ; controllers = Maps . newHashMap ( ) ; methods = Sets . newHashSet ( ) ; processFoundMethods ( ) ; sortMethods ( ) ; registerMethods ( ) ; }
Scans, identifies, and registers annotated controller methods for the
current runtime settings.

@param router
Scans identifies and registers annotated controller methods for the current runtime settings .