users@jersey.java.net

Re: [Jersey] I'm confused about jersey client's connectTimeout & readTimeout properties measurement

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Wed, 22 Apr 2009 11:00:36 +0200

On Apr 22, 2009, at 10:47 AM, Kevin wrote:

> I'll be very appreciated to anyone who told me these two properties
> are measured in milliseconds or seconds?

It is in milliseconds. I have updated the JavaDoc.

Paul.

> For example, if I invoke:
> client.setConnectTimeout(10);
> client.setReadTimeout(10);
>
> it means I'd get a timeout exception after 10 seconds or 0.01 seconds?
>
> Thanks in advance.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>