Class LogviewerLogDownloadHandler


  • public class LogviewerLogDownloadHandler
    extends Object
    • Method Detail

      • downloadLogFile

        public jakarta.ws.rs.core.Response downloadLogFile​(String host,
                                                           String fileName,
                                                           String user)
                                                    throws IOException
        Download a worker log.
        Parameters:
        host - host address
        fileName - file to download
        user - username
        Returns:
        a Response which lets browsers download that file.
        Throws:
        IOException
      • downloadDaemonLogFile

        public jakarta.ws.rs.core.Response downloadDaemonLogFile​(String host,
                                                                 String fileName,
                                                                 String user)
                                                          throws IOException
        Download a daemon log.
        Parameters:
        host - host address
        fileName - file to download
        user - username
        Returns:
        a Response which lets browsers download that file.
        Throws:
        IOException