Search in sources :

Example 1 with HttpClient3HookProxy

use of com.creditease.uav.hook.httpclients3.sync.HttpClient3HookProxy in project uavstack by uavorg.

the class DoTestHttpClient3Proxy 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);
    HttpClient3HookProxy p = new HttpClient3HookProxy("test", Collections.emptyMap());
    p.doInstallDProxy(null, "testApp");
    testClient();
}
Also used : HttpClient3HookProxy(com.creditease.uav.hook.httpclients3.sync.HttpClient3HookProxy) ConsoleLogger(com.creditease.monitor.log.ConsoleLogger)

Aggregations

ConsoleLogger (com.creditease.monitor.log.ConsoleLogger)1 HttpClient3HookProxy (com.creditease.uav.hook.httpclients3.sync.HttpClient3HookProxy)1