HttpRequestMessage
classMessage class for HTTP requests
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Extends
| Name | Type | Description |
|---|---|---|
| HttpBaseMessage | class |
Base class for HTTP messages |
Fields
| Name | Type | Description |
|---|---|---|
| badRequest | bool |
Set to true to simulate a bad request. Server answers w. 404. |
| targetUrl | string |
The target URL - request set for browsers, echoed by servers. |
| originatorUrl | string |
The originator URL. Only applicable for servers. |
| protocol | int |
10 for http/1.0, 11 for http/1.1. |
| keepAlive | bool |
The keep-alive header |
| serial | int |
Convenience field which allows resource requests to be serially tagged for ease of analysis. |
| heading | string |
The message heading - request string for requests, response for replies |
| payload | string |
The payload field |
| mutable | bool | |
| complete | bool | |
| correct | bool | |
| properlyRepresented | bool | |
| chunkLength | b | |
| rawBin | string[] | |
| rawHex | string[] | |
| tags | RegionTagSet::cObjectRegionTag[] |
Source code
// // Message class for HTTP requests // class HttpRequestMessage extends HttpBaseMessage { bool badRequest = false; // Set to true to simulate a bad request. Server answers w. 404. }File: src/inet/applications/httptools/common/HttpMessages.msg