Http shit

本来只想找个多线程靠谱的httpclient,

于是找到了这个MultiThreadedHttpConnectionManager

众人都喷他不行,如是有找到了这个于是又找到了这个ThreadSafeClientConnManager

 * @deprecated (4.2)  use {@link org.apache.http.impl.conn.PoolingHttpClientConnectionManager}
 */
@ThreadSafe
@Deprecated
public class ThreadSafeClientConnManager implements ClientConnectionManager {
 

于是又找到了这个PoolingClientConnectionManager

 * @deprecated (4.3) use {@link PoolingHttpClientConnectionManager}.
 */
@Deprecated
@ThreadSafe
public class PoolingClientConnectionManager implements ClientConnectionManager, ConnPoolControl<HttpRoute> {

最后找到了这个 PoolingHttpClientConnectionManager

@ThreadSafe
public class PoolingHttpClientConnectionManager
    implements HttpClientConnectionManager, ConnPoolControl<HttpRoute>, Closeable {

what's the NEXT???


你可能感兴趣的:(http)