| Package | Description |
|---|---|
| com.facebook.presto.spi |
| Modifier and Type | Method and Description |
|---|---|
static HostAddress |
HostAddress.fromParts(String host,
int port)
Build a HostAddress instance from separate host and port values.
|
static HostAddress |
HostAddress.fromString(String hostPortString)
Split a freeform string into a host and port, without strict validation.
|
static HostAddress |
HostAddress.fromUri(URI httpUri) |
HostAddress |
Node.getHostAndPort() |
HostAddress |
HostAddress.requireBracketsForIPv6()
Generate an error if the host might be a non-bracketed IPv6 literal.
|
HostAddress |
HostAddress.withDefaultPort(int defaultPort)
Provide a default port if the parsed string contained only a host.
|
| Modifier and Type | Method and Description |
|---|---|
List<HostAddress> |
ConnectorSplit.getAddresses() |
Copyright © 2012-2014. All Rights Reserved.