public class ConnectionPool extends Object
Constructor and Description |
---|
ConnectionPool() |
Modifier and Type | Method and Description |
---|---|
static void |
forget(org.apache.http.nio.NHttpClientConnection conn) |
static org.apache.http.nio.NHttpClientConnection |
getConnection(String host,
int port) |
static void |
release(org.apache.http.nio.NHttpClientConnection conn) |
public static org.apache.http.nio.NHttpClientConnection getConnection(String host, int port)
public static void release(org.apache.http.nio.NHttpClientConnection conn)
public static void forget(org.apache.http.nio.NHttpClientConnection conn)
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.