Class FlightRecordingDownloadFacade

java.lang.Object
io.hawt.web.filters.FlightRecordingDownloadFacade
All Implemented Interfaces:
jakarta.servlet.Filter

public class FlightRecordingDownloadFacade extends Object implements 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 Details

    • FlightRecordingDownloadFacade

      public FlightRecordingDownloadFacade()
  • Method Details

    • init

      public void init(jakarta.servlet.FilterConfig filterConfig)
      Specified by:
      init in interface jakarta.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:
      doFilter in interface jakarta.servlet.Filter
      Throws:
      IOException
      jakarta.servlet.ServletException
    • destroy

      public void destroy()
      Specified by:
      destroy in interface jakarta.servlet.Filter