public class ClientUtils extends Object
| Constructor and Description |
|---|
ClientUtils() |
| Modifier and Type | Method and Description |
|---|---|
static InetSocketAddress |
parseHostPortAddress(String hostport)
Utility method that converts a string of the form "host:port" into an
InetSocketAddress. |
public static InetSocketAddress parseHostPortAddress(String hostport)
InetSocketAddress.
The returned InetSocketAddress may be unresolved!hostport - The "host:port" string.Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.