Package net.i2p.router.web.helpers
Class ConfigLoggingHandler
java.lang.Object
net.i2p.router.web.FormHandler
net.i2p.router.web.helpers.ConfigLoggingHandler
public class ConfigLoggingHandler extends FormHandler
Handler to deal with form submissions from the logging config form and act
upon the values.
-
Field Summary
Fields inherited from class net.i2p.router.web.FormHandler
_action, _context, _log, _method, _out, _requestWrapper, _settings
-
Constructor Summary
Constructors Constructor Description ConfigLoggingHandler()
-
Method Summary
Modifier and Type Method Description protected void
processForm()
Implement this to perform the final processing (in turn, adding formNotice and formError messages, etc) Will only be called if _action is non-null and the nonce is valid.void
setDefaultloglevel(String level)
void
setLevels(String levels)
void
setLogdateformat(String format)
void
setLogfilename(String filename)
void
setLogfilesize(String size)
void
setLogformat(String format)
void
setNewlogclass(String s)
void
setNewloglevel(String s)
void
setShouldsave(String moo)
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, storeWriter
-
Constructor Details
-
ConfigLoggingHandler
public ConfigLoggingHandler()
-
-
Method Details
-
processForm
protected void processForm()Description copied from class:FormHandler
Implement this to perform the final processing (in turn, adding formNotice and formError messages, etc) Will only be called if _action is non-null and the nonce is valid.- Specified by:
processForm
in classFormHandler
-
setShouldsave
-
setLevels
-
setDefaultloglevel
-
setLogfilename
-
setLogformat
-
setLogdateformat
-
setLogfilesize
-
setNewlogclass
- Since:
- 0.8.1
-
setNewloglevel
- Since:
- 0.8.1
-