All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.imperva.shcf4j.httpcomponents.client4.HttpAsyncClients Maven / Gradle / Ivy

Go to download

The Simple HTTP Client Facade for Java (SHCF4J) serves as a simple facade or abstraction for various HTTP client frameworks (e.g. java.net.HttpURLConnection, Apache HttpClient, etc.) allowing the end user to plug in the desired HTTP client framework at deployment time.

There is a newer version: 1.0.5
Show newest version
package com.imperva.shcf4j.httpcomponents.client4;


/**
 * HttpAsyncClients
 * Factory methods for {@link AsyncHttpClientBuilder} instances.
 *
 * @author maxim.kirilov
 */
public class HttpAsyncClients {


    /**
     * Creates builder object for construction of custom
     * {@link AsyncHttpClientBuilder} instances.
     *
     * @return a {@code AsyncHttpClientBuilder} for customized implementation
     */
    public static AsyncHttpClientBuilder custom() {
        return new AsyncHttpClientBuilder(org.apache.http.impl.nio.client.HttpAsyncClientBuilder.create());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy