Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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

Method Detail

### 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 event
    `out` - the output stream to write to
  Throws:
    `IOException` - in case of error

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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