package com.fireflysource.net.http.client;

/**
 *
 *
 * @author Pengtao Qiu
 */
public interface HttpClientConnectionManager {
}

@@ -41,90 +41,698 @@
 t;%0A%0A
-/**%0A *%0A *%0A * @author Pengtao Qiu%0A */%0Apublic interface HttpClientConnectionManager %7B
+import java.net.SocketAddress;%0Aimport java.util.concurrent.CompletableFuture;%0A%0A/**%0A * The HTTP client connection manager maintains the HTTP client connections. If it creates connection and negotiates the%0A * HTTP version is 2.0, and it maintains only one connection to send the request and receive the response.%0A * If the HTTP version is 1.1, it maintains the  HTTP connections in a pool.%0A *%0A * @author Pengtao Qiu%0A */%0Apublic interface HttpClientConnectionManager %7B%0A%0A    /**%0A     * Get HTTP client connection.%0A     *%0A     * @param address The socket address.%0A     * @return The HTTP client connection.%0A     */%0A    CompletableFuture%3CHttpClientConnection%3E getConnection(SocketAddress address);%0A
 %0A%7D%0A

add http client connection manager API