Package net.i2p.router.web.helpers
Class ConfigPeerHandler
- java.lang.Object
-
- net.i2p.router.web.FormHandler
-
- net.i2p.router.web.helpers.ConfigPeerHandler
-
public class ConfigPeerHandler extends FormHandler
-
-
Field Summary
-
Fields inherited from class net.i2p.router.web.FormHandler
_action, _context, _log, _method, _out, _requestWrapper, _settings
-
-
Constructor Summary
Constructors Constructor Description ConfigPeerHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidprocessForm()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.voidsetCapacity(String bonus)voidsetPeer(String peer)voidsetSpeed(String bonus)-
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: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
-
setPeer
public void setPeer(String peer)
-
setSpeed
public void setSpeed(String bonus)
-
setCapacity
public void setCapacity(String bonus)
-
-