Skip to main content

HS.FHIRServer.Config.RestHandler

deprecated class HS.FHIRServer.Config.RestHandler extends HSMOD.REST.Base

DEPRECATED Use HS.FHIRServer.Management.REST.Handler instead. Dispatch class for all UI REST requests

Method Inventory

Parameters

parameter HandleCorsRequest = 1;
Inherited description: This parameter influences the CORS support. The default is an empty string meaning 'not specified'. If set to true (1) then CORS processing is ON. If set to false (0) then CORS processing is OFF. If left unset "" then the decision to process CORS is delegated to the setting on the URL map route.
parameter UseSession = 0;
Inherited description: Enable CSP Sessions for REST

Methods

deprecated classmethod EmitErrorResult(pStatus As %Status)
Constructs a JSON object and prints it using the error status in pStatus
deprecated classmethod EmitResult(pPayload As %DynamicAbstractObject = "")
Prints pPayload if it is not empty, else sets the response status to be 'No Content'

Inherited Members

Inherited Methods

Subclasses

FeedbackOpens in a new tab