maxConnections and maxConnectionsPerHost
This commit is contained in:
@@ -61,7 +61,7 @@ public final class ClassUtil {
|
||||
}
|
||||
}
|
||||
if (clazz == null || clazz.isEmpty()) {
|
||||
clazz = new ArrayList<>();
|
||||
clazz = new ArrayList<Class<?>>();
|
||||
try {
|
||||
for (URL url : ((URLClassLoader) ClassLoader.getSystemClassLoader()).getURLs()) {
|
||||
File file = new File(url.getFile());
|
||||
|
||||
@@ -27,7 +27,7 @@ import com.foxinmy.weixin4j.util.ServerToolkits;
|
||||
*/
|
||||
public class MessagePush {
|
||||
|
||||
private final String server = "https://localhost:30000";
|
||||
private final String server = "http://localhost:30000";
|
||||
private final HttpClient httpClient;
|
||||
private final HttpPost httpPost;
|
||||
private final HttpGet httpGet;
|
||||
|
||||
Reference in New Issue
Block a user