Top Method Summary
Options Name Purpose
CHARACTER GetAllowedMethods (character, logical) Returns the comma-delimited list of HTTP methods supported by the REST endpoint(s) matching the given request URI
LOGICAL IsMethodAuthorized (IRestRequest, character) Returns whether the current user is authorized to use the given HTTP method on the resolved REST request


Method Detail
Top

CHARACTER GetAllowedMethods (character, logical)

Purpose: Returns the comma-delimited list of HTTP methods supported by the
REST endpoint(s) matching the given request URI
Notes: The returned value always contains the OPTIONS method itself. The
supported methods are determined by both the endpoint definitions
(the @RestAddress Can* flags and the @RestMethod request methods)
and the current user's privileges as checked by the
IRequestAuthorizationProvider service.
registered REST endpoint (regardless of the user's privileges)

Parameters:
pcUri CHARACTER
The request URI (relative to the REST entities base address)
plAddressFound LOGICAL
Output flag indicating whether the URI matched any
Returns CHARACTER
The comma-delimited list of supported HTTP methods (e.g. "GET,POST,OPTIONS")
Top

LOGICAL IsMethodAuthorized (IRestRequest, character)

Purpose: Returns whether the current user is authorized to use the given
HTTP method on the resolved REST request
Notes: When no IRequestAuthorizationProvider service is registered, the
request is treated as not restricted. When the authorization status
cannot be evaluated (e.g. detailed update authorization requires
dataset row-states that are not available for an OPTIONS request),
the method is treated as authorized - the actual request is still
authorized at the service interface level.

Parameters:
poRestRequest Consultingwerk.OERA.RestResource.IRestRequest
The resolved IRestRequest for the URI and HTTP method
pcMethod CHARACTER
The HTTP method being checked
Returns LOGICAL
Logical value indicating whether the HTTP method is authorized


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       06.07.2026 14:26:56