users@jersey.java.net

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

From: Kevin <kevin.tianji_at_gmail.com>
Date: Wed, 22 Apr 2009 17:04:11 +0800

thx, I have to ask in here since the javadoc doesn't clarify it.

On Wed, Apr 22, 2009 at 5:00 PM, Paul Sandoz <Paul.Sandoz_at_sun.com> wrote:
>
> 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
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>
>