Maintenance pages for applications managed by the application owner
The most common way to manage maintenance pages is to store a dedicated HTML page on a web server which is managed by the application's owner. This allows the application's owners themselves to decide whether their application shall be available to the user or not.
The implementation is done by configuring a MaintenanceFilter and assigning it to the application's mapping.
Within the maintenance filter, you have to specify the web server hosting the maintenance page as well as the URL path where the page is available (see the next figure).
It's now up to the application's owner to modify the meta tags to enable/disable the maintenance page.
Sample HTML header of the maintenance page
<head>
<title>Maintenance</title>
<meta name="startTimestamp" content="Sun, 15 Mar 2015 04:00:00 GMT" />
<meta name="stopTimestamp" content="Sun, 15 Mar 2015 08:00:00 GMT" />
<head>