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, OutputStream out)
          Write the event payload to the stream.

Method Detail


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.

event - the current event
out - the output stream to write to
IOException - in case of error

Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.