Class AjaxExecutorKeepAlive

    • Constructor Detail

      • AjaxExecutorKeepAlive

        public AjaxExecutorKeepAlive()
    • Method Detail

      • handleRequest

        public void handleRequest​(@Nonnull
                                  com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope,
                                  @Nonnull
                                  com.helger.photon.app.PhotonUnifiedResponse aAjaxResponse)
                           throws Exception
        Description copied from interface: IAjaxExecutor
        Called to handle a specific request. The implementation of this method usually performs a server side task and fills the provided response object with e.g. binary data to download or HTML content to be evaluated by the calling HTML page. If this Ajax executor only executes something but delivers no result, at least the HTTP status 204 (No content) should be returned.
        Specified by:
        handleRequest in interface IAjaxExecutor
        Parameters:
        aRequestScope - the request scope values to be used. Never null.
        aAjaxResponse - The response object to be filled. Never null.
        Throws:
        Exception - Any exception if an error occurs.