Skip to main content

Filter

Use a filter as shown below:

Example
public class MyFilter implements Filter {
...
}

Then register the filter:

Configure the interceptor
public class StartModule implements WebModule {
public void loadModule(WebApiBinder apiBinder) throws Throwable {
...
apiBinder.jeeFilter("/*").through(MyFilter.class);
...
}
}