Class ConfigRestartBean

java.lang.Object
net.i2p.router.web.helpers.ConfigRestartBean

public class ConfigRestartBean extends Object
simple helper to control restarts/shutdowns in the left hand nav
  • Constructor Details

    • ConfigRestartBean

      public ConfigRestartBean()
  • Method Details

    • getNonce

      public static String getNonce()
      formerly System.getProperty("console.nonce")
    • renderStatus

      public static String renderStatus(String urlBase, String action, String nonce)
      this also initiates the restart/shutdown based on action
    • getRestartTimeRemaining

      public static long getRestartTimeRemaining()
      this is for summaryframe.jsp