Uses of Class
java.net.InetSocketAddress
| Package | Description |
|---|---|
| java.net |
Provides the classes for implementing networking applications.
|
-
Uses of InetSocketAddress in java.net
Methods in java.net that return InetSocketAddress Modifier and Type Method Description static InetSocketAddressInetSocketAddress. createUnresolved(String host, int port)Creates an unresolved socket address from a hostname and a port number.Methods in java.net with parameters of type InetSocketAddress Modifier and Type Method Description static ProxySelectorProxySelector. of(InetSocketAddress proxyAddress)Returns a ProxySelector which uses the given proxy address for all HTTP and HTTPS requests.