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 ProxySelectorProxySelector. getDefault()Gets the system-wide proxy selector.static ProxySelectorProxySelector. 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 voidProxySelector. 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 anOptionalcontaining theProxySelectorfor this client.Methods in jdk.incubator.http with parameters of type ProxySelector Modifier and Type Method Description abstract HttpClient.BuilderHttpClient.Builder. proxy(ProxySelector selector)Sets aProxySelectorfor this client.
-