Namespace: Consultingwerk.OERA.RestResource
Interface 
IRestMethodResponse Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implemented by: Consultingwerk.OERA.RestResource.RestMethodResponse

File:IRestMethodResponse
Purpose:Optional Interface for the return value of RESTful methods
Description:When the return value of a RESTful method is implementing
this interface, the return value may not only return the
payload (Entity). It's possible to also return a HTTP
StatusCode, StatusReason and ContentType
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Sat Sep 01 07:17:00 CEST 2018
Purpose: Returns the HTTP ContentType of the response
Notes: Should default to application/json


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


Property Detail
Top

PUBLIC CHARACTER ContentType


Returns CHARACTER
Top

PUBLIC Progress.Lang.Object Entity


Returns Progress.Lang.Object
Top

PUBLIC OpenEdge.Net.HTTP.HttpHeader Headers


Returns OpenEdge.Net.HTTP.HttpHeader
Top

PUBLIC OpenEdge.Net.HTTP.StatusCodeEnum StatusCode


Returns OpenEdge.Net.HTTP.StatusCodeEnum
Top

PUBLIC CHARACTER StatusReason


Returns CHARACTER


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       15.04.2024 05:52:57