Interface IProxySelector


public interface IProxySelector
This interface allows to select a proxy to use when connecting to network resources.

Implementations of this interface must be thread-safe.

See also the related guide on How to configure a proxy server.

  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    Select the proxy to use when connecting to the given URI.
  • Method Details Link icon

    • selectProxy Link icon

      @Nullable Proxy selectProxy(@NotNull String uri)
      Select the proxy to use when connecting to the given URI.
      Parameters:
      uri - the connection URI.
      Returns:
      the proxy to use, if any.