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 <e...@zusammenkunft.net>
> wrote:
> 
> > 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" <
> > ol...@apache.org> wrote:
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > 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, myretryhandler);
> > >
> > >
> > > What I want to achieve is to set disableAutomaticRetries on the
> > httpclient
> > > level and set them at the httpget level.
> > >
> > > Is this supported?
> > >
> >
> > No it is not, but one can use HttpContext attributes to customize the
> > handler's behavior on the per request basis.
> >
> > Oleg
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org
> > For additional commands, e-mail: httpclient-users-h...@hc.apache.org
> >
> >
> >
> >
> >
> >
> >
> 
> 



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

Reply via email to