Package org.owasp.proxy.daemon

Examples of org.owasp.proxy.daemon.Proxy


        SSLContextSelector cp = getSSLContextSelector();
        TargetedConnectionHandler tch = new SSLConnectionHandler(cp, true, hpch);
        tch = new LoopAvoidingTargetedConnectionHandler(sg, tch);
        hpch.setConnectHandler(tch);
        TargetedConnectionHandler socks = new SocksConnectionHandler(tch, true);
        mainProxy = new Proxy(mainListener, socks, null);
        mainProxy.setSocketTimeout(90000);
        mainProxy.start();
        System.out.println("Proxy: Listener started on " + mainListener);
    }
View Full Code Here

TOP

Related Classes of org.owasp.proxy.daemon.Proxy

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.