📄 securityinterceptor.java
字号:
package cn.myapps.security;
import com.opensymphony.xwork.ActionInvocation;
import com.opensymphony.xwork.interceptor.AroundInterceptor;
public class SecurityInterceptor extends AroundInterceptor {
protected void before(ActionInvocation dispatcher) throws Exception {
// dispatcher.getProxy().getMethod();
System.out.println("run before method:"+dispatcher.getProxy().getMethod());
}
protected void after(ActionInvocation dispatcher, String result) throws Exception {
// Interceptor interc = null;
// invo.
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -