Filter Form
A traditional J2EE Filter can act as an interceptor. For example:
Example
public class MyFilter implements Filter {
...
}
Finally, declare and register the interceptor to use it normally.
Configure the interceptor
public class StartModule implements WebModule {
public void loadModule(WebApiBinder apiBinder) throws Throwable {
...
apiBinder.jeeFilter("/*").through(MyFilter.class); // Filter form.
...
}
}