[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [jetty-users] Jetty Client 9 for Iudex crawler
|
On Thu, 2012-12-13 at 00:14 +0100, Simone Bordet wrote:
> Hi,
>
> On Wed, Dec 12, 2012 at 10:30 PM, David Kellum <dek94@xxxxxxxxxxxxx> wrote:
> > I was under the impression that there was certain error conditions with
> > idempotent requests that the retry feature of client 7.x could
> > automatically recover from. An example might be if a (i.e. keep-alive)
> > socket is closed while sending the request? Or am I misunderstanding
> > what enabling this feature does in 7.x?
>
> Well, I have not found yet a use case where you want this to be
> completely automatic... I am open to hear though.
> Yes there are idempotent requests but they are kind of rare and it's
> very easy to redo them manually upon failure.
OK, I'll look at adding my own retry for appropriate conditions.
> > OK I'll wait for M4 before investigating cookie support further. I'd
> > like to disable cookies with M3, but it looks like this (per doc) is
> > only on master as well?
> >
> > httpClient.setCookieStore(new CookieStore.Empty());
> >
> > Though I can't find an Empty class in java.net either?
>
> No it's not in java.net; the old docs refer to
> org.eclipse.jetty.client.api.CookieStore, which is now gone in favor
> of java.net.CookieStore.
> I also updated the documentation for the current master, but if you
> can't wait the build, read here:
> https://github.com/jetty-project/jetty-documentation/blob/master/src/docbkx/clients/http/http-client-other.xml
> To disable cookies, or filter them, search for "disable cookie
> handling" and "enable cookie filtering".
Hmmm, I still can't find any "Empty" nested class in M3 nor master nor
in java.net?
Thanks,
David