Hi Alexey,
super thank you! I build it in and it works perfectly!.
-------- Original-Nachricht --------
> Datum: Tue, 27 May 2008 10:26:16 +0200
> Von: Oleksiy Stashok <Oleksiy.Stashok_at_Sun.COM>
> An: dev_at_grizzly.dev.java.net
> Betreff: Re: ParserProtocolFilter API
> Hi John,
>
> On May 27, 2008, at 8:28 , John ROM wrote:
>
> > well that was my first thought too but even
> > when you use delagation and share the same ReadFilter
> > PUReadFilter still comes first in the chain and reads
> > the bytes away.....
> Right. But will it be fine, if just PUReadFilter will read a data from
> a channel? ParserProtocolFilter will not try to make a read, but work
> with data, which was read by PUReadFilter.
>
> >
> > maybe you should leave everything as it is because flags
> > always make things worse....
> I agree. However as ParserProtocolFilter is abstract class, I can add
> this flag as protected field, which will not be visible outside, but
> custom ParserProtocolFilter implementation can change it. Besides that
> default logic of the ParserProtocolFilter will remain the same as it
> was.
>
> I attach patched ParserProtocolFilter with "isSkipRead" flag. Let me
> know if it works for you.
>
> Thanks.
>
> WBR,
> Alexey.
>
--
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/?mc=sv_ext_mf@gmx