hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ray Williams Robinson Valiente <shaka.shad...@gmail.com>
Subject Porting Axis2 from commons.httpclient 3.1 to new 4.3.x API...
Date Tue, 16 Sep 2014 13:31:25 GMT
Hi there:

I'm trying to port an Axis2 based class which is currently
using commons.httpclient 3.1, to new to new 4.3.x API. Is this safe? I
mean, is new API HttpClient object suitable for this?

This is a section of my code:

                configurationContext =
ConfigurationContextFactory.createConfigurationContextFromFileSystem(null,
null);

configurationContext.setProperty(HTTPConstants.AUTO_RELEASE_CONNECTION,
true);

configurationContext.setProperty(HTTPConstants.REUSE_HTTP_CLIENT, true);

configurationContext.setProperty(HTTPConstants.CACHED_HTTP_CLIENT,
*httpClient*);

Can I just set a new API object where bold httpClient is ?

-- 
*Ray Williams Robinson Valiente*
* <http://www.antica.cl/>*
*Antica S.A. *

*mail & skype: rrobinson@antica.cl <rrobinson@antica.cl>,
shaka.shadows@gmail.com <shaka.shadows@gmail.com>, rrobinson_antica,
facebook:shaka.shadows *
*Francisco Noguera 200, Of. 803 *
*Providencia, Santiago, Chile*

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message