Package net.i2p.router.web.helpers
Class ConfigLoggingHandler
java.lang.Object
net.i2p.router.web.FormHandler
net.i2p.router.web.helpers.ConfigLoggingHandler
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 -
Method Summary
Modifier and TypeMethodDescriptionprotected voidImplement 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.voidsetDefaultloglevel(String level) voidvoidsetLogcompress(String foo) voidsetLogdateformat(String format) voidsetLogfilename(String filename) voidsetLogfilesize(String size) voidsetLogformat(String format) voidvoidvoidsetShouldsave(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:FormHandlerImplement 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:
processFormin classFormHandler
-
setShouldsave
-
setLevels
-
setDefaultloglevel
-
setLogfilename
-
setLogformat
-
setLogdateformat
-
setLogfilesize
-
setLogcompress
- Since:
- 0.9.57
-
setNewlogclass
- Since:
- 0.8.1
-
setNewloglevel
- Since:
- 0.8.1
-