mirror of
https://github.com/wahyd4/Martian.git
synced 2026-08-08 21:06:40 +10:00
去除tomcat,不再使用第三方容器,而是直接采用jdk自带的HttpServer来做http服务
This commit is contained in:
@@ -114,8 +114,9 @@ public class HttpMarsRequestFactory {
|
||||
if(param == null || param.length < 2){
|
||||
continue;
|
||||
}
|
||||
String key = param[0];
|
||||
|
||||
values = marsParams.get(param[0]);
|
||||
values = marsParams.get(key);
|
||||
if(values == null){
|
||||
values = new ArrayList<>();
|
||||
}
|
||||
@@ -125,7 +126,7 @@ public class HttpMarsRequestFactory {
|
||||
value = URLDecoder.decode(value, "UTF-8");
|
||||
}
|
||||
values.add(value);
|
||||
marsParams.put(param[0],values);
|
||||
marsParams.put(key,values);
|
||||
}
|
||||
}
|
||||
return marsParams;
|
||||
|
||||
Reference in New Issue
Block a user