Class ConfigUpdateHandler

    • Constructor Detail

      • ConfigUpdateHandler

        public ConfigUpdateHandler()
    • Method Detail

      • 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