Examples of ApacheHttpClient


Examples of io.airlift.http.client.ApacheHttpClient

        lifeCycleManager = injector.getInstance(LifeCycleManager.class);

        server = injector.getInstance(TestingHttpServer.class);

        client = new ApacheHttpClient();
    }
View Full Code Here

Examples of io.airlift.http.client.ApacheHttpClient

    @BeforeMethod
    public void setup()
            throws Exception
    {
        server = new TestingPrestoServer();
        client = new ApacheHttpClient();
    }
View Full Code Here

Examples of io.airlift.http.client.ApacheHttpClient

        lifeCycleManager = injector.getInstance(LifeCycleManager.class);

        server = injector.getInstance(TestingHttpServer.class);

        client = new ApacheHttpClient();
    }
View Full Code Here

Examples of org.mockserver.client.http.ApacheHttpClient

    private final ApacheHttpClient apacheHttpClient;

    public InitializerMavenPluginTest() {
        bufferSize(1024);
        maxTimeout(TimeUnit.SECONDS.toMillis(10));
        apacheHttpClient = new ApacheHttpClient(true);
    }
View Full Code Here

Examples of org.mockserver.client.http.ApacheHttpClient

        if (contextPath == null) {
            throw new IllegalArgumentException("ContextPath can not be null");
        }
        this.port = port;
        this.uriBase = "http://" + host + ":" + port + (contextPath.length() > 0 && !contextPath.startsWith("/") ? "/" : "") + contextPath;
        this.apacheHttpClient = new ApacheHttpClient(false);
    }
View Full Code Here

Examples of org.mockserver.client.http.ApacheHttpClient

     * @param port the port for the proxy to communicate with
     */
    public ProxyClient(String host, int port) {
        if (Boolean.parseBoolean(System.getProperty("defaultProxySet"))) {
            uriBase = "https://" + host + ":" + port;
            apacheHttpClient = new ApacheHttpClient(true);
        } else {
            uriBase = "http://" + host + ":" + port;
            apacheHttpClient = new ApacheHttpClient(false);
        }
    }
View Full Code Here

Examples of org.mockserver.client.http.ApacheHttpClient

    private final ApacheHttpClient apacheHttpClient;

    public AbstractClientServerIntegrationTest() {
        bufferSize(1024);
        maxTimeout(TimeUnit.SECONDS.toMillis(10));
        apacheHttpClient = new ApacheHttpClient(true);
    }
View Full Code Here

Examples of org.mockserver.client.http.ApacheHttpClient

    private final ApacheHttpClient apacheHttpClient;

    public InitializerMavenPluginTest() {
        bufferSize(1024);
        maxTimeout(TimeUnit.SECONDS.toMillis(10));
        apacheHttpClient = new ApacheHttpClient(true);
    }
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.