Interface AuService


public interface AuService
An AU request service used to handle the AU requests (AuRequest). It is usually implemented by an application and plugged to a component via Component.setAuService(org.zkoss.zk.au.AuService), or plugged to a desktop via Desktop.addListener(java.lang.Object).

Notice that the AU service plugged to a component takes the higher priority than the default handling (ComponentCtrl.service(org.zkoss.zk.au.AuRequest, boolean)).

See also ZK Client-side Reference: AU Requests: Server-side Processing.

Since:
5.0.0
Author:
tomyeh
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    service(AuRequest request, boolean everError)
    Handles an AU request.
  • Method Details

    • service

      boolean service(AuRequest request, boolean everError)
      Handles an AU request.
      Parameters:
      request - the request sent from the client.
      everError - whether any error ever occurred before processing this request.
      Returns:
      whether the request has been processed. If false is returned, the default process (handled by the component) will take place.
      Since:
      5.0.0