PageBody aboutToAdd(RequestContext, PageBody)
This method is called before the service is invoked.
Input
• RequestContext - contains session parameters, such as, language cd, user id and etc.
Input/Output
• PageBody - The input page body to be added.
Return value
• PageBody or null -- If a page body is returned, this is considered the result of the service and the underlying service will not be executed. If null is returned, the service will run normally.
Throws
InterceptorError - throw this exception when an error occurs.
InterceptorWarning - throws this exception to signal an application warning
Parent topic