Package io.hawt.web.filters
Class FlightRecordingDownloadFacade
java.lang.Object
io.hawt.web.filters.FlightRecordingDownloadFacade
- All Implemented Interfaces:
jakarta.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 -
Method Summary
-
Constructor Details
-
FlightRecordingDownloadFacade
public FlightRecordingDownloadFacade()
-
-
Method Details
-
init
public void init(jakarta.servlet.FilterConfig filterConfig) - Specified by:
initin interfacejakarta.servlet.Filter
-
doFilter
public void doFilter(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response, jakarta.servlet.FilterChain chain) throws IOException, jakarta.servlet.ServletException - Specified by:
doFilterin interfacejakarta.servlet.Filter- Throws:
IOExceptionjakarta.servlet.ServletException
-
destroy
public void destroy()- Specified by:
destroyin interfacejakarta.servlet.Filter
-