if (!mountedMiddleware.enabled) {
// the middleware is disabled
handle(null);
} else {
if (request.path().startsWith(mountedMiddleware.mount)) {
mountedMiddleware.middleware.handle(request, this);
} else {
// the middleware was not mounted on this uri, skip to the next entry
handle(null);
}