Uses of Class java.net.ProxySelector (Java SE 9 & JDK 9 )

## Uses of Class
java.net.ProxySelector

- Packages that use ProxySelector
  Package | Description
  --- | ---
  java.net | Provides the classes for implementing networking applications.
  jdk.incubator.http | High level HTTP and WebSocket API

- - ### Uses of ProxySelector in java.net

    Methods in java.net that return ProxySelector
    Modifier and Type | Method | Description
    --- | --- | ---
    `static ProxySelector` | ProxySelector.`getDefault​()` | Gets the system-wide proxy selector.
    `static ProxySelector` | ProxySelector.`of​(InetSocketAddress proxyAddress)` | Returns a ProxySelector which uses the given proxy address for all HTTP and HTTPS requests.

    Methods in java.net with parameters of type ProxySelector
    Modifier and Type | Method | Description
    --- | --- | ---
    `static void` | ProxySelector.`setDefault​(ProxySelector ps)` | Sets (or unsets) the system-wide proxy selector.

  - ### Uses of ProxySelector in jdk.incubator.http

    Methods in jdk.incubator.http that return types with arguments of type ProxySelector
    Modifier and Type | Method | Description
    --- | --- | ---
    `abstract Optional<ProxySelector>` | HttpClient.`proxy​()` | Returns an `Optional` containing the `ProxySelector` for this client.

    Methods in jdk.incubator.http with parameters of type ProxySelector
    Modifier and Type | Method | Description
    --- | --- | ---
    `abstract HttpClient.Builder` | HttpClient.Builder.`proxy​(ProxySelector selector)` | Sets a `ProxySelector` for this client.