public class MonitoringHandler extends Object implements RequestHandler
RequestHandler
that exposes some health information for the site.
Supports the following operations:
/health
Site
's status, including its Application
s and Properties
./health/system
System.getProperties()
./health
/environmentSystem.getenv()
./health/platform
/health/jars
Site
s SiteClassLoader
.Platform.Property#MONITORING_PATH
Modifier and Type | Class and Description |
---|---|
static class |
MonitoringHandler.ApplicationInfo |
static class |
MonitoringHandler.Connection |
static class |
MonitoringHandler.Jar |
static class |
MonitoringHandler.SiteInfo |
FORWARDED
Constructor and Description |
---|
MonitoringHandler() |
Modifier and Type | Method and Description |
---|---|
void |
handle(javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse,
Environment env,
Site site,
PathInfo pathInfo)
Handles the given
HttpServletRequest , |
public void handle(javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse, Environment env, Site site, PathInfo pathInfo) throws javax.servlet.ServletException, IOException
RequestHandler
HttpServletRequest
,handle
in interface RequestHandler
servletRequest
- the current HttpServletRequest
servletResponse
- the current HttpServletResponse
env
- the current Environment
site
- the current Site
pathInfo
- the current PathInfo
javax.servlet.ServletException
- if a servlet-specific error occursIOException
- if a resource could not be foundCopyright © 2011–2020 aiticon GmbH. All rights reserved.