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 and Description
    --- | ---
    `void` | `buildMessage(org.apache.axis2.context.MessageContext messageContext)`
    `void` | `buildMessage(org.apache.axis2.context.MessageContext messageContext, boolean earlyBuild)`
    `java.io.InputStream` | `getMessageDataStream(org.apache.axis2.context.MessageContext context)`

- - ### Method Detail

    - #### getMessageDataStream

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

      Throws:
        `java.io.IOException`

    - #### buildMessage

          void buildMessage(org.apache.axis2.context.MessageContext messageContext)
                     throws javax.xml.stream.XMLStreamException,
                            java.io.IOException

      Throws:
        `javax.xml.stream.XMLStreamException`
        `java.io.IOException`

    - #### buildMessage

          void buildMessage(org.apache.axis2.context.MessageContext messageContext,
                            boolean earlyBuild)
                     throws javax.xml.stream.XMLStreamException,
                            java.io.IOException

      Throws:
        `javax.xml.stream.XMLStreamException`
        `java.io.IOException`

Copyright © 2005-2022 Apache Software Foundation. All Rights Reserved.