public interface Endpoint
URI and an IP address resolved from
the hostname in the URI.| Modifier and Type | Method and Description |
|---|---|
InetAddress |
getIp()
Returns the
InetAddress to which the URI's hostname resolves. |
URI |
getUri()
Returns the
URI of the endpoint. |
URI getUri()
URI of the endpoint.
A valid URI for Helios must have a scheme that's either http or https,
a hostname, and a port. I.e. it must be of the form http(s)://heliosmaster.domain.net:port.
It's up to the implementation to enforce this.InetAddress getIp()
InetAddress to which the URI's hostname resolves.Copyright © 2019. All rights reserved.