public class WebIpAndPortInfo extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected static String |
ALL |
protected static String |
COLON |
protected static String |
SPOT |
| 构造器和说明 |
|---|
WebIpAndPortInfo(String ip,
String port) |
| 限定符和类型 | 方法和说明 |
|---|---|
static WebIpAndPortInfo |
build(String node) |
boolean |
check(String[] appIpSegment,
String port)
Check.
|
protected boolean |
checkIp(String[] appIpSegment)
Check ip.
|
protected boolean |
checkPort(String port)
Check port.
|
protected boolean |
contrastSegment(String appIp,
String propIp)
Check whether the strings are the same.
|
public static WebIpAndPortInfo build(String node)
public boolean check(String[] appIpSegment, String port)
appIpSegment - application ip segmentport - application portprotected boolean checkIp(String[] appIpSegment)
appIpSegment - application ip segmentprotected boolean checkPort(String port)
port - application portCopyright © 2022. All rights reserved.