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
All Methods Instance Methods Concrete Methods 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
-
-
-
-
Method Detail
-
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
public void setShouldsave(String moo)
-
setLevels
public void setLevels(String levels)
-
setDefaultloglevel
public void setDefaultloglevel(String level)
-
setLogfilename
public void setLogfilename(String filename)
-
setLogformat
public void setLogformat(String format)
-
setLogdateformat
public void setLogdateformat(String format)
-
setLogfilesize
public void setLogfilesize(String size)
-
setNewlogclass
public void setNewlogclass(String s)
- Since:
- 0.8.1
-
setNewloglevel
public void setNewloglevel(String s)
- Since:
- 0.8.1
-
-