org.apache.struts2.interceptor
类 ClearSessionInterceptor
java.lang.Object
com.opensymphony.xwork2.interceptor.AbstractInterceptor
org.apache.struts2.interceptor.ClearSessionInterceptor
- 所有已实现的接口:
- com.opensymphony.xwork2.interceptor.Interceptor, Serializable
public class ClearSessionInterceptor
- extends com.opensymphony.xwork2.interceptor.AbstractInterceptor
This interceptor clears the HttpSession.
Interceptor parameters:
Example:
<action name="exampleAction" class="com.examples.ExampleAction">
<interceptor-ref name="clearSession"/>
<interceptor-ref name="defaultStack"/>
<result name="success">example.jsp</result>
</action>
- 另请参见:
- 序列化表格
从类 com.opensymphony.xwork2.interceptor.AbstractInterceptor 继承的方法 |
destroy, init |
ClearSessionInterceptor
public ClearSessionInterceptor()
intercept
public String intercept(com.opensymphony.xwork2.ActionInvocation invocation)
throws Exception
- 指定者:
- 接口
com.opensymphony.xwork2.interceptor.Interceptor
中的 intercept
- 指定者:
- 类
com.opensymphony.xwork2.interceptor.AbstractInterceptor
中的 intercept
- 抛出:
Exception