com.atlassian.xwork.interceptors
Class RequestParameterHackInterceptor
java.lang.Object
com.opensymphony.xwork.interceptor.AroundInterceptor
com.atlassian.xwork.interceptors.RequestParameterHackInterceptor
- All Implemented Interfaces:
- com.opensymphony.xwork.interceptor.Interceptor, Serializable
public class RequestParameterHackInterceptor
- extends com.opensymphony.xwork.interceptor.AroundInterceptor
This interceptor looks for a map in the ActionContext context, and if it finds it BUT
those parameters are NOT in the existing Http Request, then it calls them as setters on the action.
- See Also:
- Serialized Form
| Fields inherited from class com.opensymphony.xwork.interceptor.AroundInterceptor |
log |
|
Method Summary |
protected void |
after(com.opensymphony.xwork.ActionInvocation actionInvocation,
String s)
|
protected void |
before(com.opensymphony.xwork.ActionInvocation invocation)
|
static void |
setHackMap(Map hackMap)
|
| Methods inherited from class com.opensymphony.xwork.interceptor.AroundInterceptor |
destroy, init, intercept |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestParameterHackInterceptor
public RequestParameterHackInterceptor()
setHackMap
public static void setHackMap(Map hackMap)
before
protected void before(com.opensymphony.xwork.ActionInvocation invocation)
throws Exception
- Specified by:
before in class com.opensymphony.xwork.interceptor.AroundInterceptor
- Throws:
Exception
after
protected void after(com.opensymphony.xwork.ActionInvocation actionInvocation,
String s)
throws Exception
- Specified by:
after in class com.opensymphony.xwork.interceptor.AroundInterceptor
- Throws:
Exception
Copyright © 2011 Atlassian Pty Ltd. All Rights Reserved.