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

/* SCL-5439: RestMethod no longer inherits JsonSerializable. The only use case
for JSON serialization of this class is the rest resources cache, which is
now served by the dedicated ToJsonObject/DeserializeFromJsonObject methods



Top Method Summary
Options Name Purpose
CHARACTER CharacterValue (JsonObject, character, character) Returns a character property value from a JsonObject
DeserializeFromJsonObject (JsonObject) Deserializes the RestMethod from a JsonObject
LOGICAL LogicalValue (JsonObject, character, logical) Returns a logical property value from a JsonObject
Progress.Json.ObjectModel.JsonObject ToJsonObject () Serializes the RestMethod to a JsonObject
CHARACTER ToString () Returns a CHARACTER Representation of the RestMethod

Top Constructor Summary
Options Name Purpose
RestMethod () Constructor for the RestMethod class
RestMethod (SerializableAnnotation, character, character) Constructor for the RestMethod class

Top Property Summary
Options Name Purpose
CHARACTER Accept
CHARACTER Address
CHARACTER ClassName
CHARACTER ContentType
CHARACTER CookiesMap
LOGICAL Deprecated
CHARACTER Description
CHARACTER HeadersMap
CHARACTER MethodName
CHARACTER ParameterClassName
Consultingwerk.ListNameValuePair ParameterSchemas
CHARACTER PropertyFrom
CHARACTER Request
CHARACTER RequestMethod
CHARACTER RequestParameterSchemaType
CHARACTER Response
CHARACTER ResponseEntityClassName
CHARACTER ResponseEntityFormat
CHARACTER ResponseSchemaType
CHARACTER ResponseStatusCodes
CHARACTER Tags


Method Detail
Top

CHARACTER CharacterValue (JsonObject, character, character)

Purpose: Returns a character property value from a JsonObject
Notes: SCL-5439

Parameters:
poJson Progress.Json.ObjectModel.JsonObject
The JsonObject to read from
pcName CHARACTER
The property name
pcDefault CHARACTER
The value returned when the property is missing or not a string
Returns CHARACTER
The property value or the default
Top

DeserializeFromJsonObject (JsonObject)

Purpose: Deserializes the RestMethod from a JsonObject
Notes: SCL-5439: Dedicated deserialization for the rest resources
cache, previously provided by the JsonSerializable base class.
Properties missing from the JSON keep their current value. The
ParameterSchemas list is instantiated when the property was
serialized (empty or not) and remains invalid otherwise

Parameters:
poJson Progress.Json.ObjectModel.JsonObject
The JsonObject representation of the RestMethod
Top

LOGICAL LogicalValue (JsonObject, character, logical)

Purpose: Returns a logical property value from a JsonObject
Notes: SCL-5439

Parameters:
poJson Progress.Json.ObjectModel.JsonObject
The JsonObject to read from
pcName CHARACTER
The property name
plDefault LOGICAL
The value returned when the property is missing or not a boolean
Returns LOGICAL
The property value or the default
Top

Progress.Json.ObjectModel.JsonObject ToJsonObject ()

Purpose: Serializes the RestMethod to a JsonObject
Notes: SCL-5439: Dedicated serialization for the rest resources cache,
previously provided by the JsonSerializable base class. The
property names in the JSON output match the ABL property names

Returns Progress.Json.ObjectModel.JsonObject
The JsonObject representation of the RestMethod
Top

CHARACTER ToString ()

Purpose: Returns a CHARACTER Representation of the RestMethod
Notes:

Returns CHARACTER
The CHARACTER Representation of the RestMethod


Constructor Detail
Top

RestMethod ()

Purpose: Constructor for the RestMethod class
Notes:

Top

RestMethod (SerializableAnnotation, character, character)

Purpose: Constructor for the RestMethod class
Notes:

Parameters:
poAnnotation Consultingwerk.Framework.TypeDescriptor.SerializableAnnotation
The class annotation that provides the information for the REST Method
pcClassName CHARACTER
The name of the Business Entity or Business Task class
pcMethodName CHARACTER
The name of the Method


Property Detail
Top

CHARACTER Accept


Returns CHARACTER
Top

CHARACTER Address


Returns CHARACTER
Top

CHARACTER ClassName


Returns CHARACTER
Top

CHARACTER ContentType


Returns CHARACTER
Top

CHARACTER CookiesMap


Returns CHARACTER
Top

LOGICAL Deprecated


Returns LOGICAL
Top

CHARACTER Description


Returns CHARACTER
Top

CHARACTER HeadersMap


Returns CHARACTER
Top

CHARACTER MethodName


Returns CHARACTER
Top

CHARACTER ParameterClassName


Returns CHARACTER
Top

Consultingwerk.ListNameValuePair ParameterSchemas


Returns Consultingwerk.ListNameValuePair
Top

CHARACTER PropertyFrom


Returns CHARACTER
Top

CHARACTER Request


Returns CHARACTER
Top

CHARACTER RequestMethod


Returns CHARACTER
Top

CHARACTER RequestParameterSchemaType


Returns CHARACTER
Top

CHARACTER Response


Returns CHARACTER
Top

CHARACTER ResponseEntityClassName


Returns CHARACTER
Top

CHARACTER ResponseEntityFormat


Returns CHARACTER
Top

CHARACTER ResponseSchemaType


Returns CHARACTER
Top

CHARACTER ResponseStatusCodes


Returns CHARACTER
Top

CHARACTER Tags


Returns CHARACTER


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       16.08.2026 16:57:26