org.apache.struts2.interceptor
类 ProfilingActivationInterceptor
java.lang.Object
com.opensymphony.xwork2.interceptor.AbstractInterceptor
org.apache.struts2.interceptor.ProfilingActivationInterceptor
- 所有已实现的接口:
- com.opensymphony.xwork2.interceptor.Interceptor, Serializable
public class ProfilingActivationInterceptor
- extends com.opensymphony.xwork2.interceptor.AbstractInterceptor
Allows profiling to be enabled or disabled via request parameters, when
devMode is enabled.
none
// to change the profiling key
<action ...>
...
<interceptor-ref name="profiling">
<param name="profilingKey">profilingKey</param>
</interceptor-ref>
...
</action>
- 版本:
- $Date$ $Id$
- 另请参见:
- 序列化表格
从类 com.opensymphony.xwork2.interceptor.AbstractInterceptor 继承的方法 |
destroy, init |
ProfilingActivationInterceptor
public ProfilingActivationInterceptor()
getProfilingKey
public String getProfilingKey()
- 返回:
- the profilingKey
setProfilingKey
public void setProfilingKey(String profilingKey)
- 参数:
profilingKey
- the profilingKey to set
setDevMode
public void setDevMode(String mode)
intercept
public String intercept(com.opensymphony.xwork2.ActionInvocation invocation)
throws Exception
- 指定者:
- 接口
com.opensymphony.xwork2.interceptor.Interceptor
中的 intercept
- 指定者:
- 类
com.opensymphony.xwork2.interceptor.AbstractInterceptor
中的 intercept
- 抛出:
Exception