org.mule.api.transport
Interface OutputHandler
public interface OutputHandler
The OutputHandler is a strategy class that is used to defer the writing of the message payload
until there is a stream available to write it to.
Method Summary |
void |
write(MuleEvent event,
java.io.OutputStream out)
Write the event payload to the stream. |
write
void write(MuleEvent event,
java.io.OutputStream out)
throws java.io.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:
java.io.IOException
- in case of error
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.