Apache HTTPClient 包含SchemeRegistry
类(org.apache.http.conn.scheme.SchemeRegistry)
- 什么是计划登记处?
- 什么时候可以使用?
如果我使用如下方案注册表会产生什么影响
SchemeRegistry registry = new SchemeRegistry();
registry.register(new Scheme(WEBSERVICE_URI_SCHEME, 80 ,PlainSocketFactory.getSocketFactory()));
PoolingClientConnectionManager wsConnManager = new PoolingClientConnectionManager (registry);