@Public
@Evolving
public class Servers
extends java.lang.Object
| Modifier and Type | Method | Description |
|---|---|---|
static java.util.List<java.net.InetSocketAddress> |
parse(java.lang.String specs,
int defaultPort) |
Parses a space and/or comma separated sequence of server specifications
of the form hostname or hostname:port.
|
public static java.util.List<java.net.InetSocketAddress> parse(java.lang.String specs,
int defaultPort)
specs - server specs (see description)defaultPort - the default port if not specifiedCopyright © 2008–2025 Apache Software Foundation. All rights reserved.