Package com.helger.photon.ajax
Class AjaxInvoker
- java.lang.Object
-
- com.helger.photon.ajax.AjaxInvoker
-
- All Implemented Interfaces:
IAjaxInvoker,Serializable
@Immutable public class AjaxInvoker extends Object implements IAjaxInvoker
The default implementation ofIAjaxInvoker.- Author:
- Philip Helger
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AjaxInvoker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinvokeFunction(String sFunctionName, IAjaxExecutor aAjaxExecutor, com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope, com.helger.photon.app.PhotonUnifiedResponse aAjaxResponse)Invoke the specified AJAX function.StringtoString()
-
-
-
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:IAjaxInvokerInvoke the specified AJAX function.- Specified by:
invokeFunctionin interfaceIAjaxInvoker- Parameters:
sFunctionName- the alias of the AJAX function to invoke. May not benull.aAjaxExecutor- The executor to be invoked. May not benull.aRequestScope- The request scope to be used for the function. Nevernull.aAjaxResponse- The Ajax response to be filled. Nevernull.- Throws:
Exception- In case something goes wrong
-
-