parent
bd03ed49d6
commit
667855cf3d
|
@ -112,7 +112,7 @@ public enum IPAddrType {
|
||||||
return ipv4.matches(ipv4Regex);
|
return ipv4.matches(ipv4Regex);
|
||||||
default:
|
default:
|
||||||
// Ip v6 + port
|
// Ip v6 + port
|
||||||
if (ipAddr.contains("[")) {
|
if (ipAddr.contains(ipv6PortChar)) {
|
||||||
String ipv6 = ipAddr.substring(1, ipAddr.lastIndexOf(ipv6PortChar));
|
String ipv6 = ipAddr.substring(1, ipAddr.lastIndexOf(ipv6PortChar));
|
||||||
return ipv6.matches(ipv6Regex);
|
return ipv6.matches(ipv6Regex);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
package com.dispose.dispose.impl;
|
package com.dispose.dispose.impl;
|
||||||
|
|
||||||
import com.dispose.common.*;
|
import com.dispose.common.CleanTaskStatus;
|
||||||
|
import com.dispose.common.DeviceCapacity;
|
||||||
|
import com.dispose.common.DpTechAttackType;
|
||||||
|
import com.dispose.common.ErrorCode;
|
||||||
|
import com.dispose.common.GlobalVar;
|
||||||
import com.dispose.config.DisposeConfigure;
|
import com.dispose.config.DisposeConfigure;
|
||||||
import com.dispose.dispose.DisposeEntryManager;
|
import com.dispose.dispose.DisposeEntryManager;
|
||||||
import com.dispose.dispose.po.DeviceInfo;
|
import com.dispose.dispose.po.DeviceInfo;
|
||||||
|
@ -9,7 +13,6 @@ import com.dispose.pojo.po.DisposeDeviceCapacity;
|
||||||
import com.dispose.pojo.po.MulReturnType;
|
import com.dispose.pojo.po.MulReturnType;
|
||||||
import com.dptech.dispose.AbnormalFlowCleaningServicePortType;
|
import com.dptech.dispose.AbnormalFlowCleaningServicePortType;
|
||||||
import com.dptech.dispose.ArrayOfProtectionObjectDataForService;
|
import com.dptech.dispose.ArrayOfProtectionObjectDataForService;
|
||||||
import com.dptech.dispose.NtcRequestResultInfo;
|
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.apache.cxf.endpoint.Client;
|
import org.apache.cxf.endpoint.Client;
|
||||||
|
|
|
@ -1,7 +1,11 @@
|
||||||
package com.dispose.pojo.vo.haohan;
|
package com.dispose.pojo.vo.haohan;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||||
import lombok.*;
|
import lombok.AllArgsConstructor;
|
||||||
|
import lombok.Builder;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The type Clean rsp.
|
* The type Clean rsp.
|
||||||
|
|
Loading…
Reference in New Issue