Re: RetryHandler Per GetMethod

2016-11-12 Thread Oleg Kalnichevski
On Thu, 2016-11-10 at 12:54 -0500, Murat Balkan wrote: > Hi, > So I need to put to the Context an attribute and read it in the handler? > Thank you > Yes, you do. Oleg > On 10 November 2016 at 05:38, Bernd Eckenfels > wrote: > > > In fact the retry handlers (some implementations) already lo

Re: RetryHandler Per GetMethod

2016-11-10 Thread Murat Balkan
Hi, So I need to put to the Context an attribute and read it in the handler? Thank you On 10 November 2016 at 05:38, Bernd Eckenfels wrote: > In fact the retry handlers (some implementations) already look at the > method and only retry idempotent methods > > Gruss > Bernd > -- > http://bernd.ec

Re: RetryHandler Per GetMethod

2016-11-10 Thread Bernd Eckenfels
In fact the retry handlers (some implementations)  already look at the method and only retry idempotent methods Gruss Bernd -- http://bernd.eckenfels.net On Thu, Nov 10, 2016 at 11:15 AM +0100, "Oleg Kalnichevski" wrote: On Wed, 2016-11-09 at 09:05 -0500, Murat Balkan wrote: > He

Re: RetryHandler Per GetMethod

2016-11-10 Thread Oleg Kalnichevski
On Wed, 2016-11-09 at 09:05 -0500, Murat Balkan wrote: > Hello, > > Is it possible to set a retry handler per HttpGet? The following code taken > from the documentation only applies to 3x and seems to be deprecated. > > > httpget.getParams(). > setParameter(HttpMethodParams.RETRY_HANDLER, my

RetryHandler Per GetMethod

2016-11-09 Thread Murat Balkan
Hello, Is it possible to set a retry handler per HttpGet? The following code taken from the documentation only applies to 3x and seems to be deprecated. httpget.getParams(). setParameter(HttpMethodParams.RETRY_HANDLER, myretryhandler); What I want to achieve is to set disableAutomaticRetri