HandelSslHttpProxyServer.java
478 字节
package com.github.monkeywie.proxyee;
import com.github.monkeywie.proxyee.server.HttpProxyServer;
import com.github.monkeywie.proxyee.server.HttpProxyServerConfig;
public class HandelSslHttpProxyServer {
public static void main(String[] args) throws Exception {
HttpProxyServerConfig config = new HttpProxyServerConfig();
config.setHandleSsl(true);
new HttpProxyServer()
.serverConfig(config)
.start(9999);
}
}