|
From: Bill B. <bb...@re...> - 2014-05-07 12:42:54
|
You would have to create a new ResteasyClient each time. We use Apache HttpClient under the covers, IIRC, you could only set it at socket creation time, not per request. I could be wrong though. On 5/6/2014 12:34 PM, David R Robison wrote: > I am using the resteasy client to communicate with a digital camera. > Most of the commands finish in about 300ms but some take over 2s. Is > there a way to specify the read timeout for individual calls? I know I > can set a global SO_TIMEOUT value but can I change it with wach call I make? > Thanks, David > -- Bill Burke JBoss, a division of Red Hat http://bill.burkecentral.com |