I wanted to set up a “maintenance mode” for a web application built on Javalin. That is, when the site is in maintenance mode, all normal routes are ignored (and the user sees a single “in maintenance” page), unless that user logs in as a site administrator.