Package net.bull.javamelody.internal.web
Class MonitoringController
java.lang.Object
net.bull.javamelody.internal.web.MonitoringController
Contrôleur au sens MVC de l'ihm de monitoring.
- Author:
- Emeric Vernat
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddHeadersForResource(HttpServletResponse httpResponse, String resource) voidaddPdfContentTypeAndDisposition(HttpServletRequest httpRequest, HttpServletResponse httpResponse) static voidcheckCsrfToken(HttpServletRequest httpRequest) voiddoActionIfNeededAndReport(HttpServletRequest httpRequest, HttpServletResponse httpResponse, ServletContext servletContext) voiddoCompressedSerializable(HttpServletRequest httpRequest, HttpServletResponse httpResponse, Serializable serializable) voiddoPrometheus(HttpServletResponse httpResponse, List<JavaInformations> javaInformationsList, boolean includeLastValue) voiddoReport(HttpServletRequest httpRequest, HttpServletResponse httpResponse, List<JavaInformations> javaInformationsList) static voiddoResource(HttpServletResponse httpResponse, String resource) executeActionIfNeeded(HttpServletRequest httpRequest) static booleanisJavaInformationsNeeded(HttpServletRequest httpRequest) static voidnoCache(HttpServletResponse httpResponse) void
-
Constructor Details
-
MonitoringController
-
-
Method Details
-
executeActionIfNeeded
- Throws:
IOException
-
checkCsrfToken
-
doActionIfNeededAndReport
public void doActionIfNeededAndReport(HttpServletRequest httpRequest, HttpServletResponse httpResponse, ServletContext servletContext) throws IOException, ServletException - Throws:
IOExceptionServletException
-
doReport
public void doReport(HttpServletRequest httpRequest, HttpServletResponse httpResponse, List<JavaInformations> javaInformationsList) throws IOException, ServletException - Throws:
IOExceptionServletException
-
doPrometheus
public void doPrometheus(HttpServletResponse httpResponse, List<JavaInformations> javaInformationsList, boolean includeLastValue) throws IOException - Throws:
IOException
-
noCache
-
addPdfContentTypeAndDisposition
public void addPdfContentTypeAndDisposition(HttpServletRequest httpRequest, HttpServletResponse httpResponse) -
writeHtmlToLastShutdownFile
public void writeHtmlToLastShutdownFile() -
doCompressedSerializable
public void doCompressedSerializable(HttpServletRequest httpRequest, HttpServletResponse httpResponse, Serializable serializable) throws IOException - Throws:
IOException
-
doResource
- Throws:
IOException
-
addHeadersForResource
-
isJavaInformationsNeeded
-