use of com.creditease.uav.hook.httpclients.sync.HttpClientHookProxy in project uavstack by uavorg.
the class DoTestHttpClientProxy method main.
public static void main(String[] args) {
ConsoleLogger cl = new ConsoleLogger("test");
cl.setDebugable(true);
UAVServer.instance().setLog(cl);
UAVServer.instance().putServerInfo(CaptureConstants.INFO_APPSERVER_VENDOR, ServerVendor.TOMCAT);
HttpClientHookProxy p = new HttpClientHookProxy("test", Collections.emptyMap());
p.doInstallDProxy(null, "testApp");
// testDefaultClient();
testClient(HttpClients.createDefault());
// testClient(HttpClients.createMinimal());
// testClient(HttpClients.createSystem());
}
Aggregations