Hi Lars,

I've reversed the tests to prefer the channel when available. Note that for
now, no connector is able to exploit the channel's aspect of a
representation.

Best regards,
Jerome  

> -----Message d'origine-----
> De : Lars Heuer [mailto:[EMAIL PROTECTED] 
> Envoyé : jeudi 9 novembre 2006 15:56
> À : [email protected]
> Objet : NRE HttpServerCall
> 
> Hi,
> 
> In
> 
>   HttpServerCall.sendResponse
> 
> the method first checks for an ResponseStream and if the stream is
> null it checks for an ResponseChannel (line 224).
> 
> [...]
>      if (getResponseStream() != null)
>      {
>         entity.write(getResponseStream());
>      }
>      else if (getResponseChannel() != null)
>      {
>         entity.write(getResponseChannel());
>      }
> [...]
> 
> Shouldn't that be done the other way around? The channel should be
> preferred.
>   
> Best regards,
> Lars
> -- 
> http://www.semagia.com

Reply via email to