Package org.asynchttpclient.AsyncHttpClientConfig

Examples of org.asynchttpclient.AsyncHttpClientConfig.Builder.build()


                public boolean verify(String arg0, SSLSession arg1) {
                    return false;
                }
            }).setRequestTimeout(20000);

            client = getAsyncHttpClient(builder.build());

            try {
            client.prepareGet("https://github.com/AsyncHttpClient/async-http-client/issues/355").execute().get(TIMEOUT, TimeUnit.SECONDS);
           
            Assert.assertTrue(false, "Shouldn't be here: should get an Exception");
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.