Package net.i2p.router.web.helpers
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 Summary
Constructors Constructor Description ConfigRestartBean()
-
Method Summary
Modifier and Type Method Description static String
getNonce()
formerly System.getProperty("console.nonce")static long
getRestartTimeRemaining()
this is for summaryframe.jspstatic String
renderStatus(String urlBase, String action, String nonce)
this also initiates the restart/shutdown based on action
-
Constructor Details
-
ConfigRestartBean
public ConfigRestartBean()
-
-
Method Details
-
getNonce
formerly System.getProperty("console.nonce") -
renderStatus
this also initiates the restart/shutdown based on action -
getRestartTimeRemaining
public static long getRestartTimeRemaining()this is for summaryframe.jsp
-