Class 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 Detail

      • FlightRecordingDownloadFacade

        public FlightRecordingDownloadFacade()
    • Method Detail

      • init

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

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