You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by cwilkes <cw...@gmail.com> on 2013/11/26 20:44:57 UTC

Adding httpHost to FutureRequestExecutionService

Just found out about this class after writing my own.  My use case is that I
have the same request send out to a dozen sharded machines and I did that my
looping through a list of HttpHosts.

This patch adds the ability to pass in an http host in
FutureRequestExecutionService.execute() .

Is this the correct way of submitting a pull request?  Let me know if
there's something else I should do or if the code needs improving.

httpclient-add-httphost.diff
<http://httpcomponents.10934.n7.nabble.com/file/n21837/httpclient-add-httphost.diff>  



--
View this message in context: http://httpcomponents.10934.n7.nabble.com/Adding-httpHost-to-FutureRequestExecutionService-tp21837.html
Sent from the HttpClient-User mailing list archive at Nabble.com.

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


Re: Adding httpHost to FutureRequestExecutionService

Posted by Oleg Kalnichevski <ol...@apache.org>.
On Tue, 2013-11-26 at 11:44 -0800, cwilkes wrote:
> Just found out about this class after writing my own.  My use case is that I
> have the same request send out to a dozen sharded machines and I did that my
> looping through a list of HttpHosts.
> 
> This patch adds the ability to pass in an http host in
> FutureRequestExecutionService.execute() .
> 
> Is this the correct way of submitting a pull request?  Let me know if
> there's something else I should do or if the code needs improving.
> 
> httpclient-add-httphost.diff
> <http://httpcomponents.10934.n7.nabble.com/file/n21837/httpclient-add-httphost.diff>  
> 
> 

You'll have to raise a change request in JIRA and attach your patch to
it. By doing so you will state your consent to have this code licensed
under the terms of ASLv2.

Oleg 



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