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

    • renderStatus

      public static String renderStatus(String urlBase, String action, HttpSession session, String systemNonce, String nonce)
      this also initiates the restart/shutdown based on action
      Parameters:
      systemNonce - the next nonce to output in the form
      nonce - the nonce to be validated for actions
    • getRestartTimeRemaining

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