public interface IFilterChain
Modifier and Type | Method and Description |
---|---|
void |
addFilter(java.lang.String filterName,
SFSExtensionFilter filter)
Add a filter to the Filter Chain.
|
void |
destroy()
Shut down the Filter Chain.
|
void |
remove(java.lang.String filterName)
Remove a Filter from the Filter Chain.
|
FilterAction |
runEventInChain(ISFSEvent event) |
FilterAction |
runRequestInChain(java.lang.String requestId,
User sender,
ISFSObject params) |
int |
size()
Get the size of the Filter Chain.
|
void addFilter(java.lang.String filterName, SFSExtensionFilter filter)
filterName
- the name of the filterfilter
- the filter that is going to be addedvoid remove(java.lang.String filterName)
filterName
- the name of the FilterFilterAction runRequestInChain(java.lang.String requestId, User sender, ISFSObject params)
FilterAction runEventInChain(ISFSEvent event) throws SFSException
SFSException
int size()
void destroy()