Re: [Asyncweb] server API for commiting HTTPReponse in chunk

2008-03-18 Thread Mike Heath
이희승 (Trustin Lee) wrote: No, you are not late. :) 2008-03-04 (화), 13:27 -0700, Mike Heath 쓰시길: First off, sorry for the LATE response tot his thread. My comments are below inline. 이희승 (Trustin Lee) wrote: Adding commit(Partial)?Response method causes HttpResponse to keep a response to

Re: [Asyncweb] server API for commiting HTTPReponse in chunk

2008-03-06 Thread (Trustin Lee)
No, you are not late. :) 2008-03-04 (화), 13:27 -0700, Mike Heath 쓰시길: First off, sorry for the LATE response tot his thread. My comments are below inline. 이희승 (Trustin Lee) wrote: Adding commit(Partial)?Response method causes HttpResponse to keep a response to IoSession, which doesn't

Re: [Asyncweb] server API for commiting HTTPReponse in chunk

2008-03-04 Thread Mike Heath
First off, sorry for the LATE response tot his thread. My comments are below inline. 이희승 (Trustin Lee) wrote: Adding commit(Partial)?Response method causes HttpResponse to keep a response to IoSession, which doesn't sound good to me. What do you think about providing another setContent

Re: [Asyncweb] server API for commiting HTTPReponse in chunk

2008-02-17 Thread (Trustin Lee)
Adding commit(Partial)?Response method causes HttpResponse to keep a response to IoSession, which doesn't sound good to me. What do you think about providing another setContent method with QueueIoBuffer? We could provide a special implementation of Queue that allows a user to stream a list of

[Asyncweb] server API for commiting HTTPReponse in chunk

2008-02-14 Thread Julien Vermillard
Hi, I would like to have your comments about the Asyncweb server API Actually you create your HttpResponse like that : MutableHttpResponse response = new DefaultHttpResponse(); response.setContent(myIoBuffer); response.setHeader(Content-Type, text/html);

Re: [Asyncweb] server API for commiting HTTPReponse in chunk

2008-02-14 Thread David M. Lloyd
Julien Vermillard wrote: Hi, I would like to have your comments about the Asyncweb server API [...] So you can add content in chunks in place of 1 big buffer, that won't resolve the streaming problem, but it's convenient. Now streaming : [...] PartialResponseListener listener = new

Re: [Asyncweb] server API for commiting HTTPReponse in chunk

2008-02-14 Thread Tuure Laurinolli
Julien Vermillard wrote: snip non-streaming parts Now streaming : MutableHttpResponse response = new DefaultHttpResponse(); response.setStatus(HttpResponseStatus.OK); // add a first chunk (optional) response.addContent(buffer1); PartialResponseListener listener = new