org.apache.synapse.transport.netty.listener

## Class HttpRequestWorker

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

- All Implemented Interfaces:
    java.lang.Runnable

      public class HttpRequestWorker
      extends java.lang.Object
      implements java.lang.Runnable

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

- - ### Constructor Summary

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

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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 `java.lang.Runnable`

    - #### setContentTypeMessageTypeAndCharacterEncoding

          public void setContentTypeMessageTypeAndCharacterEncoding()

    - #### ackShouldSend

          public boolean ackShouldSend()

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