이희승 (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
>
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 do
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 met
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 Queue?
We could provide a special implementation of Queue that allows a user to
stream a list of IoBuffers o
Julien Vermillard wrote:
Now streaming :
MutableHttpResponse response = new DefaultHttpResponse();
response.setStatus(HttpResponseStatus.OK);
// add a first chunk (optional)
response.addContent(buffer1);
PartialResponseListener listener = new PartialResponseListener() {
public void
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 Partia
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");
response.setStatus(HttpResponseStatu