|
|||||||||
| Home >> All >> org >> mentawai >> [ core overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.mentawai.core
Interface Filter

- public interface Filter
A filter intercepts an action so it can modify its input and output, before and after the action is executed. Filters are very useful for validation, authentication, value objects, file upload, etc.
| Method Summary | |
void |
destroy()
Gives a chance to the filter to deallocalte any resources before it is destroyed. |
java.lang.String |
filter(InvocationChain chain)
Executes the filter. |
| Method Detail |
filter
public java.lang.String filter(InvocationChain chain) throws java.lang.Exception
- Executes the filter.
destroy
public void destroy()
- Gives a chance to the filter to deallocalte any resources before it is destroyed.
This is called when the web application is stopped, in other words,
this has nothing to do with garbage collection.
|
|||||||||
| Home >> All >> org >> mentawai >> [ core overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC