解决执行器回调URL不支持配置HTTPS时问题。

This commit is contained in:
xuxueli 2017-08-03 10:57:51 +08:00
parent b1013d4c13
commit 822a01401a
1 changed files with 2 additions and 2 deletions

View File

@ -21,8 +21,8 @@ public class JettyClient {
// reqURL // reqURL
String reqURL = request.getServerAddress(); String reqURL = request.getServerAddress();
if (reqURL!=null && reqURL.toLowerCase().indexOf("http://")==-1) { if (reqURL!=null && reqURL.toLowerCase().indexOf("http")==-1) {
reqURL = "http://" + request.getServerAddress() + "/"; reqURL = "http://" + request.getServerAddress() + "/"; // IP:PORT, need parse to url
} }
// remote invoke // remote invoke