JFinal的攔截器筆記

InterCeptor 1>>>>>> Method級別的攔截器: 用@Before(xxx.class)給某個方法添加一個攔截器: //測試methodInterceptor的用法    @Before(MethodInterceptor.class)    publicvoid testMethod(){      render("index.html");    } 作用只在這個方法上邊生效
相關文章
相關標籤/搜索