Class CrtProxyConfiguration.DefaultBuilder<B extends CrtProxyConfiguration.Builder>

    • Constructor Detail

      • DefaultBuilder

        protected DefaultBuilder()
    • Method Detail

      • scheme

        public B scheme​(String scheme)
        Description copied from interface: CrtProxyConfiguration.Builder
        The HTTP scheme to use for connecting to the proxy. Valid values are http and https.

        The client defaults to http if none is given.

        Specified by:
        scheme in interface CrtProxyConfiguration.Builder
        Parameters:
        scheme - The proxy scheme.
        Returns:
        This object for method chaining.
      • username

        public B username​(String username)
        Description copied from interface: CrtProxyConfiguration.Builder
        The username to use for basic proxy authentication

        If not set, the client will not use basic authentication

        Specified by:
        username in interface CrtProxyConfiguration.Builder
        Parameters:
        username - The basic authentication username.
        Returns:
        This object for method chaining.
      • password

        public B password​(String password)
        Description copied from interface: CrtProxyConfiguration.Builder
        The password to use for basic proxy authentication

        If not set, the client will not use basic authentication

        Specified by:
        password in interface CrtProxyConfiguration.Builder
        Parameters:
        password - The basic authentication password.
        Returns:
        This object for method chaining.
      • useSystemPropertyValues

        public B useSystemPropertyValues​(Boolean useSystemPropertyValues)
        Description copied from interface: CrtProxyConfiguration.Builder
        The option whether to use system property values from ProxySystemSetting if any of the config options are missing. The value is set to "true" by default which means SDK will automatically use system property values if options are not provided during building the CrtProxyConfiguration object. To disable this behaviour, set this value to false.It is important to note that when this property is set to "true," all proxy settings will exclusively originate from system properties, and no partial settings will be obtained from EnvironmentVariableValues.
        Specified by:
        useSystemPropertyValues in interface CrtProxyConfiguration.Builder
        Parameters:
        useSystemPropertyValues - The option whether to use system property values
        Returns:
        This object for method chaining.
      • useEnvironmentVariableValues

        public B useEnvironmentVariableValues​(Boolean useEnvironmentVariableValues)
        Description copied from interface: CrtProxyConfiguration.Builder
        The option whether to use environment variable values from ProxySystemSetting if any of the config options are missing. The value is set to "true" by default which means SDK will automatically use environment variable values if options are not provided during building the CrtProxyConfiguration object. To disable this behavior, set this value to false.It is important to note that when this property is set to "true," all proxy settings will exclusively originate from environment variableValues, and no partial settings will be obtained from SystemPropertyValues.

        Comma-separated host names in the NO_PROXY environment variable indicate multiple hosts to exclude from proxy settings.

        Specified by:
        useEnvironmentVariableValues in interface CrtProxyConfiguration.Builder
        Parameters:
        useEnvironmentVariableValues - The option whether to use environment variable values
        Returns:
        This object for method chaining.
      • setuseEnvironmentVariableValues

        public B setuseEnvironmentVariableValues​(Boolean useEnvironmentVariableValues)
      • setUseSystemPropertyValues

        public void setUseSystemPropertyValues​(Boolean useSystemPropertyValues)