public class HostAndPort extends Object
Constructor and Description |
---|
HostAndPort() |
Modifier and Type | Method and Description |
---|---|
static HostAndPort |
fromString(String hostWithPort) |
String |
getHost() |
static HostAndPort |
getNextHostAndPort(HostAndPort hostAndPort) |
int |
getPort() |
void |
setHost(String host) |
void |
setPort(int port) |
String |
toString() |
public static final HostAndPort fromString(String hostWithPort)
public static HostAndPort getNextHostAndPort(HostAndPort hostAndPort)
public String getHost()
public void setHost(String host)
public int getPort()
public void setPort(int port)
Copyright © 2018. All rights reserved.