OpenEdge.Web.WebResponse
- Last Updated: November 12, 2026
- 1 minute read
- OpenEdge
- Version 13.1
- Documentation
|
Method Summary
| Options | Name | Purpose | |
|---|---|---|---|
| SetHeader (character, character) |
/**
* Builds a new header and adds to this message's collection of headers.
*
* @param character The header name
* @param character The complete header value
*/
|
Constructor Summary
| Options | Name | Purpose | |
|---|---|---|---|
| WebResponse () |
/**
* Default constructor. Returns a 200 (OK) status.
*/
|
||
| WebResponse (integer) |
/**
* Constructor.
* Sets a specific HTTP status code and applies a matching reason.
* The HTTP version is distinctly set to HTTP/1.1
*
* @param integer An HTTP status code for the response (eg. 200, 201, 404, etc.)
*/
|
||
| WebResponse (StatusCodeEnum) |
/**
* Constructor.
* Calls the constructor with the status code ENUM converted to integer.
*
* @param StatusCodeEnum An HTTP status code (as ENUM) for the response
*/
|
Method Detail
SetHeader (character, character)
|
||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Constructor Detail
WebResponse ()
|
||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
WebResponse (integer)
|
||||||||||||
WebResponse (StatusCodeEnum)
|
||||||||||||