Package net.i2p.router.web.helpers
Class ConfigRestartBean
java.lang.Object
net.i2p.router.web.helpers.ConfigRestartBean
simple helper to control restarts/shutdowns in the left hand nav
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic longthis is for summaryframe.jspstatic StringrenderStatus(String urlBase, String action, HttpSession session, String systemNonce, String nonce) this also initiates the restart/shutdown based on action
-
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 formnonce- the nonce to be validated for actions
-
getRestartTimeRemaining
public static long getRestartTimeRemaining()this is for summaryframe.jsp
-