Package org.apache.synapse.transport.netty.listener

## Class HttpRequestWorker

- java.lang.Object
- - org.apache.synapse.transport.netty.listener.HttpRequestWorker

- All Implemented Interfaces:
    `Runnable`

      public class HttpRequestWorker
      extends Object
      implements Runnable

  `HttpRequestWorker` is the Thread that does the request processing.

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `HttpRequestWorker​(org.wso2.transport.http.netty.message.HttpCarbonMessage incomingCarbonMsg, SourceConfiguration sourceConfiguration)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | `ackShouldSend()` |
    `void` | `run()` |
    `void` | `setContentTypeMessageTypeAndCharacterEncoding()` |

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

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

- - ### Constructor Detail

    - #### HttpRequestWorker

          public HttpRequestWorker​(org.wso2.transport.http.netty.message.HttpCarbonMessage incomingCarbonMsg,
                                   SourceConfiguration sourceConfiguration)

  - ### Method Detail

    - #### run

          public void run()

      Specified by:
        `run` in interface `Runnable`

    - #### setContentTypeMessageTypeAndCharacterEncoding

          public void setContentTypeMessageTypeAndCharacterEncoding()

    - #### ackShouldSend

          public boolean ackShouldSend()