Package org.zkoss.zk.au
Interface AuService
-
- All Known Implementing Classes:
BindComposer
,ClientBindComposer
,InaccessibleWidgetBlockService
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 viaComponent.setAuService(org.zkoss.zk.au.AuService)
, or plugged to a desktop viaDesktop.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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
service(AuRequest request, boolean everError)
Handles an AU request.
-
-
-
Method Detail
-
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
-
-