Class LogviewerLogDownloadHandler

java.lang.Object
org.apache.storm.daemon.logviewer.handler.LogviewerLogDownloadHandler

public class LogviewerLogDownloadHandler extends Object
  • Constructor Details

  • Method Details

    • downloadLogFile

      public javax.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 javax.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