Class ConfigUpdateHandler

java.lang.Object
net.i2p.router.web.FormHandler
net.i2p.router.web.ConfigUpdateHandler

public class ConfigUpdateHandler extends FormHandler
  • Field Details

  • Constructor Details

    • ConfigUpdateHandler

      public ConfigUpdateHandler()
  • Method Details

    • proxyPort

      public static int proxyPort(I2PAppContext ctx)
      Convenience method for updaters
      Returns:
      the configured value, else the registered HTTP proxy, else the default
      Since:
      0.8.13
    • 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 class FormHandler
    • setNewsURL

      public void setNewsURL(String url)
    • setRefreshFrequency

      public void setRefreshFrequency(String freq)
    • setUpdateURL

      public void setUpdateURL(String url)
    • setUpdatePolicy

      public void setUpdatePolicy(String policy)
    • setTrustedKeys

      public void setTrustedKeys(String keys)
    • setUpdateThroughProxy

      public void setUpdateThroughProxy(String foo)
    • setProxyHost

      public void setProxyHost(String host)
    • setProxyPort

      public void setProxyPort(String port)
    • setUpdateUnsigned

      public void setUpdateUnsigned(String foo)
    • setZipURL

      public void setZipURL(String url)
    • setNewsThroughProxy

      public void setNewsThroughProxy(String foo)
      Since:
      0.9.9
    • setUpdateDevSU3

      public void setUpdateDevSU3(String foo)
      Since:
      0.9.20
    • setDevSU3URL

      public void setDevSU3URL(String url)
      Since:
      0.9.20