RE: Client Timeout on ClientResource post method

2009-10-28 Thread Jerome Louvel
:41 À : discuss@restlet.tigris.org Objet : Re: Client Timeout on ClientResource post method Could someone point me to the 1.1 technique referred to here? -troy On Fri, Oct 2, 2009 at 9:24 AM, Jerome Louvel wrote: > Hi Rahul, > > > > If your client resources are contained in a Restlet

Re: Client Timeout on ClientResource post method

2009-10-14 Thread troy
Could someone point me to the 1.1 technique referred to here? -troy On Fri, Oct 2, 2009 at 9:24 AM, Jerome Louvel wrote: > Hi Rahul, > > > > If your client resources are contained in a Restlet component, you could > just configure the HTTP client connector as you were doing in 1.1. > Otherwise,

RE: Client Timeout on ClientResource post method

2009-10-11 Thread webpost
I tried the code you described, however it did not set a timeout to the http connection. I am using the android version of the client (2.05m) if that matters.. -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2406377

RE: Client Timeout on ClientResource post method

2009-10-02 Thread Jerome Louvel
Hi Rahul, If your client resources are contained in a Restlet component, you could just configure the HTTP client connector as you were doing in 1.1. Otherwise, you need to provide the configured Client to your resource: Client client = new Client(Protocol.HTTP); client.setConnectTimeout(x