Class AjaxInvoker

    • Constructor Detail

      • AjaxInvoker

        public AjaxInvoker()
    • Method Detail

      • invokeFunction

        public void invokeFunction​(@Nonnull
                                   String sFunctionName,
                                   @Nonnull
                                   IAjaxExecutor aAjaxExecutor,
                                   @Nonnull
                                   com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope,
                                   @Nonnull
                                   com.helger.photon.app.PhotonUnifiedResponse aAjaxResponse)
                            throws Exception
        Description copied from interface: IAjaxInvoker
        Invoke the specified AJAX function.
        Specified by:
        invokeFunction in interface IAjaxInvoker
        Parameters:
        sFunctionName - the alias of the AJAX function to invoke. May not be null.
        aAjaxExecutor - The executor to be invoked. May not be null.
        aRequestScope - The request scope to be used for the function. Never null.
        aAjaxResponse - The Ajax response to be filled. Never null.
        Throws:
        Exception - In case something goes wrong