|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.i2p.router.web.FormHandler
net.i2p.router.web.ConfigServiceHandler
public class ConfigServiceHandler
Handler to deal with form submissions from the service config form and act upon the values.
Field Summary |
---|
Fields inherited from class net.i2p.router.web.FormHandler |
---|
_action, _context, _log, _method, _requestWrapper, _settings |
Constructor Summary | |
---|---|
ConfigServiceHandler()
|
Method Summary | |
---|---|
protected void |
processForm()
Override this to perform the final processing (in turn, adding formNotice and formError messages, etc) |
(package private) static void |
registerSignalHandler(RouterContext ctx)
Register a handler for signals, so we can handle HUP from the wrapper (non-Windows only, wrapper 3.2.0 or higher) |
static void |
registerWrapperNotifier(RouterContext ctx,
int code,
boolean rekey)
Register two shutdown hooks, one to rekey and/or tell the wrapper we are stopping, and a final one to tell the wrapper we are stopped. |
boolean |
shouldShowCancelGraceful()
Should we show the cancel button? |
static void |
unregisterSignalHandler()
Unregister the handler for signals |
Methods inherited from class net.i2p.router.web.FormHandler |
---|
_t, _t, _t, _x, addFormError, addFormErrorNoEscape, addFormNotice, addFormNoticeNoEscape, getAllMessages, getErrors, getJettyString, getNewNonce, getNotices, isAdvanced, setAction, setContextId, setNonce, setRequestWrapper, setSettings, storeMethod, storeNonces |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConfigServiceHandler()
Method Detail |
---|
public static void registerWrapperNotifier(RouterContext ctx, int code, boolean rekey)
static void registerSignalHandler(RouterContext ctx)
public static void unregisterSignalHandler()
public boolean shouldShowCancelGraceful()
protected void processForm()
FormHandler
processForm
in class FormHandler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |