public Middleware init ( @ NotNull final Yoke yoke , @ NotNull final String mount ) { if ( initialized ) { throw new RuntimeException ( "Already Initialized!" ) ; } this . yoke = yoke ; this . mount = mount ; this . initialized = true ; return this ; }
Initializes the middleware . This methos is called from Yoke once a middleware is added to the chain .