Filter
使用 Filter 如下所示:
例子
public class MyFilter implements Filter {
...
}
然后注册 Filter:
配置拦截器
public class StartModule extends WebModule {
public void loadModule(WebApiBinder apiBinder) throws Throwable {
...
apiBinder.jeeFilter("/*").through(MyFilter.class);
...
}
}