cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ugo Cei <...@apache.org>
Subject Re: Serving arbitrary OutputStreams with Cocoon
Date Tue, 13 Apr 2004 19:32:30 GMT
Il giorno 13/apr/04, alle 19:51, Oscar Picasso ha scritto:

> I guess the above approaches mean I need to use Piped streams to 
> 'transform' my
> OuputStream to an InputSream. Or have you a better suggestion?

Possibly, but keep in mind that you cannot write to and read from a 
Piped stream in the same thread. Alternatively, you could use a 
ByteArrayOtputStream if memory consumption is not an issue.

	Ugo


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message