public class PortBinding extends Object
| Modifier and Type | Field and Description |
|---|---|
private String |
hostIp |
private String |
hostPort |
| Constructor and Description |
|---|
PortBinding() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
String |
hostIp() |
void |
hostIp(String hostIp) |
String |
hostPort() |
void |
hostPort(String hostPort) |
static PortBinding |
of(String ip,
int port) |
static PortBinding |
of(String ip,
String port) |
String |
toString() |
public String hostIp()
public void hostIp(String hostIp)
public String hostPort()
public void hostPort(String hostPort)
public static PortBinding of(String ip, String port)
public static PortBinding of(String ip, int port)
Copyright © 2015. All rights reserved.