- Context for the current route pipeline. The Context gets passed from middleware to middleware. Anything that gets passed to values will be visibel to the other middleware. Calling cancel prevents any further middlewere from executing.
- Handles all the Http method specific Handlers and executes the right one.
Executes middleware before and after
_handlerFunc. All middleware gets executed sequentially.
- It could get tedious creating multiple MiddlewareHandlers with the same middleware. MiddlewareHandlerBuilder makes it simpler.