HTTP Transport Properties
HTTP transport properties allow you to configure how the HTTP transport processes messages, such as forcing a 202 HTTP response to the client so that it stops waiting for a response, setting the HTTP status code, and appending a context to the target URL in RESTful invocations.
POST_TO_URI
Name | POST_TO_URI |
|---|---|
Possible Values | "true", "false" |
Default Behavior | false |
Scope | axis2 |
Description | This property makes the request URL that is sent from the ESB profile a complete URL. When set to |
Example | <property name="POST_TO_URI" scope="axis2" value="true"/> |
FORCE_SC_ACCEPTED
Name | FORCE_SC_ACCEPTED |
|---|---|
Possible Values | "true", "false" |
Default Behavior | false |
Scope | axis2 |
Description | When set to true, this property forces a 202 HTTP response to the client immediately after the ESB profile receives the message so that the client stops waiting for a response. |
Example | <property name="FORCE_SC_ACCEPTED" value="true" scope="axis2"/> |
DISABLE_CHUNKING
Name | DISABLE_CHUNKING |
|---|---|
Possible Values | "true", "false" |
Default Behavior | false |
Scope | axis2 |
Description | If you set this to true, it disables HTTP chunking for outgoing messages. Instead, the ESB profile builds the message to calculate the content length and then sends the particular message to the backend with the content length (e.g., You can use this parameter if the client sends the request with HTTP chunking (i.e., with This property might decrease performance since the messages get built per each invocation. Also, this property does not affect Callout mediators, whose chunking must be disabled separately. |
Example | <property name="DISABLE_CHUNKING" value="true" scope="axis2"/>
|
NO_ENTITY_BODY
Name | NO_ENTITY_BODY |
|---|---|
Possible Values | "true", "false" |
Default Behavior | In case of GET requests this property is set to true. |
Scope | Axis2 |
Description | Set this property if you want to do the following:
If using the PayloadFactory mediator, this property does not need to be manually set since it is done automatically by the mediator. |
Example | <property name="NO_ENTITY_BODY" value="true" scope="axis2" type="BOOLEAN"/> |
FORCE_HTTP_1.0
Name | FORCE_HTTP_1.0 |
|---|---|
Possible Values | "true", "false" |
Default Behavior | false |
Scope | axis2 |
Description | Force HTTP 1.0 for outgoing HTTP messages. |
Example | <property name="FORCE_HTTP_1.0" value="true" scope="axis2"/> |