Class LogviewerProfileHandler


  • public class LogviewerProfileHandler
    extends Object
    • Constructor Detail

    • Method Detail

      • listDumpFiles

        public jakarta.ws.rs.core.Response listDumpFiles​(String topologyId,
                                                         String hostPort,
                                                         String user)
                                                  throws IOException
        Enumerate dump (profile) files for given worker.
        Parameters:
        topologyId - topology ID
        hostPort - host and port of worker
        user - username
        Returns:
        The HTML page representing list page of dump files
        Throws:
        IOException
      • downloadDumpFile

        public jakarta.ws.rs.core.Response downloadDumpFile​(String topologyId,
                                                            String hostPort,
                                                            String fileName,
                                                            String user)
                                                     throws IOException
        Download a dump file.
        Parameters:
        topologyId - topology ID
        hostPort - host and port of worker
        fileName - dump file name
        user - username
        Returns:
        a Response which lets browsers download that file.
        Throws:
        IOException