doFilter
method of the AjaxFilter is called by DWR each time an Ajax request is made on a method that this filter is configured against. The AjaxFilterChain passed in to this method allows the filter to pass on method details to next entity in the chain. Typically the method would do the following:
- Examine the request
- Optionally alter the method, object or parameters
- Either invoke the next entity in the chain using the AjaxFilterChain or decide to take some other action instead.
- Optionally modify the value returned to the user
- Take some other action (e.g. logging)
@param obj The object to execute the method on (i.e. 'this')
@param method The method to execute
@param params The parameters to the method call
@param chain Allow the request to be passed on
@return The results of the method execution
@throws IOException When some I/O error occurs
@throws Exception When some processing goes wrong
|
|
|
|