Class LicenseKeyRemoteConfigurer

java.lang.Object
com.itextpdf.licensing.remote.LicenseKeyRemoteConfigurer

public final class LicenseKeyRemoteConfigurer extends Object
Configuration class providing API to set up reporting requests and responses.
  • Method Details

    • setProxy

      public static void setProxy (String host, int port)
      Sets up proxy host and port values for the http requests and responses. Mind that this method should be called before the first license loading.
      Parameters:
      host - proxy host value.
      port - proxy port value.
    • resetProxy

      public static void resetProxy()
      Resets proxy host and port values. Mind that this method should be called before the first license loading. Calling this method after the first license loading does not change proxy host and port used in http responses.