public interface IAjaxExecutor extends Serializable
| Modifier and Type | Method and Description |
|---|---|
void |
handleRequest(com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope,
com.helger.photon.app.PhotonUnifiedResponse aAjaxResponse)
Called to handle a specific request.
|
default void |
initExecution(com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope)
Initialization method that is called before the main execution is called.
|
default void |
registerExternalResources()
Registers all external resources (CSS or JS files) needed by controls
potentially spawned by an AJAX request of this handler.
|
default void initExecution(@Nonnull com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope)
aRequestScope - The request scope to be used, to extract parameters. Never
null.default void registerExternalResources()
handleRequest(IRequestWebScopeWithoutResponse, PhotonUnifiedResponse)
is invoked!void handleRequest(@Nonnull com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope, @Nonnull com.helger.photon.app.PhotonUnifiedResponse aAjaxResponse) throws Exception
aRequestScope - the request scope values to be used. Never null.aAjaxResponse - The response object to be filled. Never null.Exception - Any exception if an error occurs.Copyright © 2014–2019 Philip Helger. All rights reserved.