Skip to main content

%Api.InteropEditors

Class %Api.InteropEditors Extends %Api.InteropEditors.base.dispParent [ System = 4 ]

Routing class for the InteropEditors REST services Version can be specified in the end point or not. Currently end points internal.

Parameters

CHARSET

Parameter CHARSET = "utf-8";

CONVERTINPUTSTREAM

Parameter CONVERTINPUTSTREAM = 1;

CONTENTTYPE

Parameter CONTENTTYPE = "application/json";

HandleCorsRequest

Parameter HandleCorsRequest = 1;

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.

UseSession

Parameter UseSession As Integer = 0;

XDatas

UrlMap

XData UrlMap [ XMLNamespace = "http://www.intersystems.com/urlmap" ]

Methods

OnPreDispatch

ClassMethod OnPreDispatch(pUrl As %String, pMethod As %String, ByRef pContinue As %Boolean) As %Status [ Internal ]

All routes are forwarded - leave OnPreDispatch and hence any namespace adjustment to the OnPreDispatch of the forwarded disp class