org.mule.api.transport
Interface OutputHandler
public interface OutputHandler
The OutputHandler is a strategy class that is set on the StreamMessageAdapter to
defer the writing of the message payload until there is a stream available to
write it to.
write
void write(MuleEvent event,
OutputStream out)
throws IOException
- Write the event payload to the stream. Depending on the underlying transport,
attachements and message properties may be written to the stream here too.
- Parameters:
event
- the current eventout
- the output stream to write to
- Throws:
IOException
- in case of error
Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.