OutputHandler (Mule ESB 2.2.1 API)
Keywords: org.mule.api.transport.OutputHandler interface

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 set on the StreamMessageAdapter 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-2009 MuleSource, Inc.. All Rights Reserved.