: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
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,
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
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
4 matches
Mail list logo