hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: Set outgoing connection port on httpclient
Date Mon, 24 Sep 2012 20:56:33 GMT
On Mon, 2012-09-24 at 16:04 +0200, Jose Escobar wrote:
> Hello to all,
> 
> A paranoid firewall rule force me to use a range of outgoing ports on
> a httpclient based aplication. Is there an easy way to configure this
> on httpclient?

Try using the ConnRoutePNames#LOCAL_ADDRESS ('http.route.local-address')
parameter

http://hc.apache.org/httpcomponents-client-ga/tutorial/html/connmgmt.html#d5e490

Oleg



---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Mime
View raw message