이희승 (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
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
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
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
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);
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
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