Package org.apache.synapse.transport.util

## Class HttpMessageHandler

- java.lang.Object
- - org.apache.synapse.transport.util.HttpMessageHandler

- All Implemented Interfaces:
    `MessageHandler`

      public class HttpMessageHandler
      extends Object
      implements MessageHandler

  Message handler to handle the messages coming through Netty based HTTP transport.

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `HttpMessageHandler()` |

  - ### Method Summary

    All Methods Instance Methods Concrete 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 msgContext)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### HttpMessageHandler

          public HttpMessageHandler()

  - ### Method Detail

    - #### getMessageDataStream

          public InputStream getMessageDataStream​(org.apache.axis2.context.MessageContext msgContext)

      Specified by:
        `getMessageDataStream` in interface `MessageHandler`

    - #### buildMessage

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

      Specified by:
        `buildMessage` in interface `MessageHandler`
      Throws:
        `IOException`

    - #### buildMessage

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

      Specified by:
        `buildMessage` in interface `MessageHandler`
      Throws:
        `IOException`