Package org.apache.synapse.transport.util

## Interface MessageHandler

- All Known Implementing Classes:
    `HttpMessageHandler`, `PassThroughMessageHandler`

      public interface MessageHandler

  Message handler for different transports.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `buildMessage​(org.apache.axis2.context.MessageContext messageContext)` |
    `void` | `buildMessage​(org.apache.axis2.context.MessageContext messageContext, boolean earlyBuild)` |
    `InputStream` | `getMessageDataStream​(org.apache.axis2.context.MessageContext context)` |

- - ### Method Detail

    - #### getMessageDataStream

          InputStream getMessageDataStream​(org.apache.axis2.context.MessageContext context)
                                    throws IOException

      Throws:
        `IOException`

    - #### buildMessage

          void buildMessage​(org.apache.axis2.context.MessageContext messageContext)
                     throws XMLStreamException,
                            IOException

      Throws:
        `XMLStreamException`
        `IOException`

    - #### buildMessage

          void buildMessage​(org.apache.axis2.context.MessageContext messageContext,
                            boolean earlyBuild)
                     throws XMLStreamException,
                            IOException

      Throws:
        `XMLStreamException`
        `IOException`