Modifier and Type | Method and Description |
---|---|
static List<InetSocketAddress> |
parse(String specs,
int defaultPort)
Parses a space and/or comma separated sequence of server specifications
of the form hostname or hostname:port.
|
public static List<InetSocketAddress> parse(String specs, int defaultPort)
specs
- server specs (see description)defaultPort
- the default port if not specifiedCopyright © 2017 Apache Software Foundation. All rights reserved.