cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Unico Hommes <un...@hippo.nl>
Subject Re: getInputStream() in FOM_Cocoon.FOM_Request ?
Date Mon, 25 Oct 2004 16:23:28 GMT
Sylvain Wallez wrote:

> Frédéric Glorieux wrote:
>
>>
>>
>>> The Request interface itself does not have getInputStream method, 
>>> only HttpRequest does. So first step would be to add getInputStream 
>>> method to the Request and then add it to FOM.
>>
>>
>>
>> DONE, it seems to work for me. Still problems for a real world WebDAV 
>> implementation, but this is for other threads.
>>
>>> I think this would be a good addition. What do others think?
>>
>>
>>
>> YES, what do they think ?
>
>
>
> +1.
>
> But we have to define the behavior of getInputStream for environments 
> where it has no meaning (e.g. background env, sitemap source, 
> cocoonbean etc). IMO, we should throw an exception for these cases.


Agreed. java.lang.UnsupportedOperationException is appropriate I think.

--
Unico

Mime
View raw message