Interface ResponseCallback
-
public interface ResponseCallback
For a synchronized request event, it will be handled with response during the same HTTP request. For an asynchronzed request event, its response will be set to a non-null dummy value by a module (indicating that the module will handle the event) during the same HTTP request, and its responseCallback will be called after the request event handling is completed in a subsequent HTTP request.- Since:
- 5.19
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
call(RequestEvent event)
Invoke this callback.
-
-
-
Method Detail
-
call
void call(RequestEvent event) throws SystemException
Invoke this callback.- Parameters:
event
- the associated async RequestEvent whose response is changed from dummy value to real response value.- Throws:
SystemException
- throw if an error occurs
-
-