public class HostAndPort extends Object
| Constructor and Description |
|---|
HostAndPort(HostAndPort rhs) |
HostAndPort(String str)
Construct a new HostAndPort from a string of the form "host:port".
|
HostAndPort(String host,
int port) |
HostAndPort(String host,
int port,
boolean secure)
Construct a HostAndPort object.
|
public HostAndPort(String host, int port, boolean secure)
host - the host nameport - the port numbersecure - does this host require a secure (SSL) connection?public HostAndPort(HostAndPort rhs)
public HostAndPort(String host, int port)
public HostAndPort(String str)
str - string of the form "host:port"Copyright © 2017–2020 Eclipse Foundation. All rights reserved.