Namespace: Consultingwerk.OERA.RestResource
Class 
RestMethodResponse Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.OERA.RestResource.IRestMethodResponse

File:RestMethodResponse
Purpose:Return type for RESTful methods which allows to customize
the HTTP StatusCode, StatusReason and ContentType
Description:RESTful methods support various return types (JSON, ISerializable)
When the response type implements this Interface, further
options for manipulating the HTTP response are available
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Sat Sep 01 07:24:49 CEST 2018


Top Constructor Summary
Options Name Purpose
RestMethodResponse (StatusCodeEnum) Constructor for the RestMethodResponse class
RestMethodResponse (Object, character) Constructor for the RestMethodResponse class
RestMethodResponse (Object, character, StatusCodeEnum) Constructor for the RestMethodResponse class
RestMethodResponse (Object, character, StatusCodeEnum, character) Constructor for the RestMethodResponse class
RestMethodResponse (Object, StatusCodeEnum) Constructor for the RestMethodResponse class
RestMethodResponse (Object, StatusCodeEnum, character) Constructor for the RestMethodResponse class

Top Property Summary
Options Name Purpose
CHARACTER ContentType
Progress.Lang.Object Entity
OpenEdge.Net.HTTP.HttpHeader Headers
OpenEdge.Net.HTTP.StatusCodeEnum StatusCode
CHARACTER StatusReason


Constructor Detail
Top

RestMethodResponse (StatusCodeEnum)

Purpose: Constructor for the RestMethodResponse class
Notes:

Parameters:
poStatusCode OpenEdge.Net.HTTP.StatusCodeEnum
The response StatusCode (StatusCodeEnum)
Top

RestMethodResponse (Object, character)

Purpose: Constructor for the RestMethodResponse class
Notes:

Parameters:
poEntity Progress.Lang.Object
The response entity (payload)
pcContentType CHARACTER
The response content type
Top

RestMethodResponse (Object, character, StatusCodeEnum)

Purpose: Constructor for the RestMethodResponse class
Notes:

Parameters:
poEntity Progress.Lang.Object
The response entity (payload)
pcContentType CHARACTER
The response content type
poStatusCode OpenEdge.Net.HTTP.StatusCodeEnum
The response StatusCode (StatusCodeEnum)
Top

RestMethodResponse (Object, character, StatusCodeEnum, character)

Purpose: Constructor for the RestMethodResponse class
Notes:

Parameters:
poEntity Progress.Lang.Object
The response entity (payload)
pcContentType CHARACTER
The response content type
poStatusCode OpenEdge.Net.HTTP.StatusCodeEnum
The response StatusCode (StatusCodeEnum)
pcStatusReason CHARACTER
The response StatusReason
Top

RestMethodResponse (Object, StatusCodeEnum)

Purpose: Constructor for the RestMethodResponse class
Notes:

Parameters:
poEntity Progress.Lang.Object
The response entity (payload)
poStatusCode OpenEdge.Net.HTTP.StatusCodeEnum
The response StatusCode (StatusCodeEnum)
Top

RestMethodResponse (Object, StatusCodeEnum, character)

Purpose: Constructor for the RestMethodResponse class
Notes:

Parameters:
poEntity Progress.Lang.Object
The response entity (payload)
poStatusCode OpenEdge.Net.HTTP.StatusCodeEnum
The response StatusCode (StatusCodeEnum)
pcStatusReason CHARACTER
The response StatusReason


Property Detail
Top

CHARACTER ContentType


Returns CHARACTER
Top

Progress.Lang.Object Entity


Returns Progress.Lang.Object
Top

OpenEdge.Net.HTTP.HttpHeader Headers


Returns OpenEdge.Net.HTTP.HttpHeader
Top

OpenEdge.Net.HTTP.StatusCodeEnum StatusCode


Returns OpenEdge.Net.HTTP.StatusCodeEnum
Top

CHARACTER StatusReason


Returns CHARACTER


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       13.04.2026 10:22:39