Interface ProxyConfiguration.Builder

  • Method Details

    • proxies

      An array of 1-5 proxy server configurations for domain-based routing. Each proxy can specify which domains it handles via domainPatterns, enabling flexible routing of different traffic through different proxies based on destination domain.

      Parameters:
      proxies - An array of 1-5 proxy server configurations for domain-based routing. Each proxy can specify which domains it handles via domainPatterns, enabling flexible routing of different traffic through different proxies based on destination domain.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • proxies

      ProxyConfiguration.Builder proxies(Proxy... proxies)

      An array of 1-5 proxy server configurations for domain-based routing. Each proxy can specify which domains it handles via domainPatterns, enabling flexible routing of different traffic through different proxies based on destination domain.

      Parameters:
      proxies - An array of 1-5 proxy server configurations for domain-based routing. Each proxy can specify which domains it handles via domainPatterns, enabling flexible routing of different traffic through different proxies based on destination domain.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • proxies

      An array of 1-5 proxy server configurations for domain-based routing. Each proxy can specify which domains it handles via domainPatterns, enabling flexible routing of different traffic through different proxies based on destination domain.

      This is a convenience method that creates an instance of the Proxy.Builder avoiding the need to create one manually via Proxy.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to proxies(List<Proxy>).

      Parameters:
      proxies - a consumer that will call methods on Proxy.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • bypass

      Optional configuration for domains that should bypass all proxies and connect directly to their destination, like the internet. Takes precedence over all proxy routing rules.

      Parameters:
      bypass - Optional configuration for domains that should bypass all proxies and connect directly to their destination, like the internet. Takes precedence over all proxy routing rules.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bypass

      Optional configuration for domains that should bypass all proxies and connect directly to their destination, like the internet. Takes precedence over all proxy routing rules.

      This is a convenience method that creates an instance of the ProxyBypass.Builder avoiding the need to create one manually via ProxyBypass.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to bypass(ProxyBypass).

      Parameters:
      bypass - a consumer that will call methods on ProxyBypass.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: