On Mon, 2007-08-06 at 17:31 +0200, Roland Weber wrote:
> Hi Oleg,
> 
> I've left the computer switched off for the weekend :-)
> 
> If you don't mind, I would like to investigate a slightly
> different take at the HttpMessageParser later this month
> or early in September:
> - stateless, re-usable implementation
> - separate parseRequest and parseResponse methods
> - fewer static methods for simplified overriding
> 
> Having a single class for parsing requests and responses
> should make it simpler for applications that need to change
> how headers are parsed.
> 
> Would such changes in core interfere with NIO?
> 

I am afraid so, as NIO parsers have got to be stateful. They need to
maintain state as message heads may be transmitted in multiple
incomplete chunks. So, we either have to have a completely different
message parsing frameworks for HttpCore main and HttpCore NIO or keep
request / response parsers stateful and separate.

Oleg   

> cheers,
>   Roland
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to