Commit 4538c3ea authored by 赵啸非's avatar 赵啸非

修改pom文件

parent c920be0f
......@@ -197,7 +197,7 @@ public class CaptureThread implements Runnable {
private boolean checkTcpPacket(Map<String, Set<String>> filterMap, TcpPacket tcp) {
String dstPort = tcp.getHeader().getDstPort().valueAsString();
// log.info("destPort before:"+dstPort);
// log.info("destPort before:"+dstPort);
if (!filterMap.get("SendServerPort").contains(dstPort)) {
return true;
}
......@@ -205,7 +205,7 @@ public class CaptureThread implements Runnable {
if (tcp.getPayload() == null) {
return true;
}
log.info("destPort:"+dstPort);
log.info("destPort:" + dstPort);
return false;
}
......@@ -237,8 +237,13 @@ public class CaptureThread implements Runnable {
hcpReq.setUrl(hcpUrl);
String body = JSON.toJSONString(hcpReq);
log.info("req url:{},body:{}",url,body);
String response = HttpUtil.post(url, body);
log.info("req url:{},body:{}", url, body);
Map<String, Object> paramMap = new HashMap<>();
paramMap.put("url", hcpUrl);
paramMap.put("windowid", windowId);
String response = HttpUtil.post(url, paramMap);
log.info("response :" + response);
Rest<Void> rest = JSON.parseObject(response, new TypeReference<Rest<Void>>() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment