class %REST.disp
extends %CSP.REST
The parent class to use for the geenrated API management dispatch class.
Parameters
|
Properties
|
Methods
|
Queries
|
Indices
|
ForeignKeys
|
Triggers
|
|
|
2
|
|
|
|
|
classmethod AccessCheck(Output pAuthorized As %Boolean = 0)
as %Status
Override AccessCheck to defer access checking until OnPreDispatch.
classmethod OnPreDispatch(pUrl As %String, pMethod As %String, ByRef pContinue As %Boolean)
as %Status
This method gets called prior to dispatch of the request. Put any common code here
that you want to be executed for EVERY request. If pContinue is set to 0, the
request will NOT be dispatched according to the UrlMap. In this case it's the
responsibility of the user to return a response.