Package net.i2p.router.web.helpers
Class ConfigNetHandler
java.lang.Object
net.i2p.router.web.FormHandler
net.i2p.router.web.helpers.ConfigNetHandler
Handler to deal with form submissions from the main config form and act
upon the values.
Used for both /config and /confignet
-
Field Summary
Modifier and TypeFieldDescription(package private) static final int
(package private) static final int
Fields inherited from class net.i2p.router.web.FormHandler
_action, _context, _log, _method, _out, _requestWrapper, _settings
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
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
setDisableUDP
(String foo) void
setDynamicKeys
(String moo) void
void
setHostname
(String hostname) void
setInboundrate
(String rate) void
setIPv4Firewalled
(String moo) void
void
setIPv6Firewalled
(String moo) void
void
setNtcpAutoIP
(String mode) void
setNtcpAutoPort
(String mode) void
setNtcphost
(String host) void
setNtcpport
(String port) void
setOutboundrate
(String rate) void
setRatesOnly
(String foo) void
void
void
void
setSharePercentage
(String pct) void
setTcpPort
(String port) void
setUdpAutoIP
(String mode) void
setUdpHost1
(String host) void
setUdpPort
(String port) void
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
-
Field Details
-
DEF_BURST_PCT
static final int DEF_BURST_PCT- See Also:
-
DEF_BURST_TIME
static final int DEF_BURST_TIME- See Also:
-
-
Constructor Details
-
ConfigNetHandler
public ConfigNetHandler()
-
-
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
-
setSave
-
setRecheckReachability
-
setRequireIntroductions
-
setDynamicKeys
-
setEnableloadtesting
-
setUdpAutoIP
-
setNtcpAutoIP
-
setNtcpAutoPort
-
setUpnp
-
setLaptop
-
setIPv4Firewalled
- Since:
- 0.9.20
-
setIPv6Firewalled
- Since:
- 0.9.28
-
setHostname
-
setTcpPort
-
setNtcphost
-
setNtcpport
-
setUdpHost1
-
setUdpPort
-
setInboundrate
-
setOutboundrate
-
setRatesOnly
- Since:
- 0.8.12
-
setDisableUDP
- Since:
- 0.8.13
-
setIpv6
- Since:
- IPv6
-