Package io.hawt.web.filters
Class FlightRecordingDownloadFacade
- java.lang.Object
-
- io.hawt.web.filters.FlightRecordingDownloadFacade
-
- All Implemented Interfaces:
javax.servlet.Filter
public class FlightRecordingDownloadFacade extends Object implements javax.servlet.Filter
I emulate a non existing operation jdk.management.jfr:type=FlightRecorder/downloadRecording(long) executing a sequence of jolokia calls to methods on the FlightRecorder MBean in order to continously write to the clients stream This is important as flight recording files may be huge
-
-
Constructor Summary
Constructors Constructor Description FlightRecordingDownloadFacade()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()voiddoFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain)voidinit(javax.servlet.FilterConfig filterConfig)
-
-
-
Method Detail
-
init
public void init(javax.servlet.FilterConfig filterConfig)
- Specified by:
initin interfacejavax.servlet.Filter
-
doFilter
public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException- Specified by:
doFilterin interfacejavax.servlet.Filter- Throws:
IOExceptionjavax.servlet.ServletException
-
destroy
public void destroy()
- Specified by:
destroyin interfacejavax.servlet.Filter
-
-