Hi,

i have a resource and a custom representation which calls service that in turn 
takes 20 secs. in this time the client times out sue to proxy time out set to 
10 secs.

i tried streaming in representation using chunkedoutputstream but cannot get 
complete reponse due to client timeout.

my current code for representation is

"ChunkedOutputStream cs = new ChunkedOutputStream(outputStream);

cs.write(bytes);
cs.flush();

... svc takes 20 seconds

cs.write(bytes);

cs.close();" -- This doesn't work

Basically what i want is to send part response to that client waits for next 
part and doesn't timeout.

Is this possible?

Is there any way i can achieve this?

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2695721

Reply via email to