|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IInterpreterFilter
IInterpreterFilter defines a pluggable filter interface to the Interpreter for pre-processing and post-processing of request data.
Interpreter filters will be dynamically discovered during start up. The configuration file for this is the InterpreterFilters.xml in the PORTAL_HOME/settings/config/dynamicloads/ directory.
Please note that if there are multiple filters listed in the
InterpreterFilters.xml, the PreFilter method of these filters will be invoked
in the same order as they are listed, while the PostFilter method of these
filters will be invoked in the reverse order.
This is to allow proper nesting behavior between filters, with the last filter
on the list being the "inner-most" filter in the filter nesting/chaining.
For example, if we have filter1, filter2 and filter3 listed in that order,
the order of execution for the pre-filtering will be the PreFilter method of
filter1, followed by that of filter2, and by that of filter3, while for the
post-filtering the order will be PostFilter method of filter3 first, followed
by that of filter2, and finally by that of filter1.
Method Summary | |
---|---|
void |
PostFilter(RequestData requestData)
This method can be used to perform any necessary post-filtering/processing of the request after the Interpreter processes the request. |
boolean |
PreFilter(RequestData requestData)
This method can be used to perform any necessary pre-filtering/processing of the request before the Interpreter processes the request. |
Method Detail |
---|
boolean PreFilter(RequestData requestData)
requestData
- The request to be processed.
void PostFilter(RequestData requestData)
requestData
- The request.
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |