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
All Methods Static Methods Concrete Methods 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
-
-
-
Method Detail
-
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
-
-