com.atlassian.bamboo.ww2.interceptors
Class TrimParametersInterceptor

java.lang.Object
  extended by com.opensymphony.xwork.interceptor.AroundInterceptor
      extended by com.atlassian.bamboo.ww2.interceptors.TrimParametersInterceptor
All Implemented Interfaces:
com.opensymphony.xwork.interceptor.Interceptor, java.io.Serializable

public class TrimParametersInterceptor
extends com.opensymphony.xwork.interceptor.AroundInterceptor

Trims any input that's a String

See Also:
Serialized Form

Constructor Summary
TrimParametersInterceptor()
           
 
Method Summary
protected  void after(com.opensymphony.xwork.ActionInvocation dispatcher, java.lang.String result)
           
protected  void before(com.opensymphony.xwork.ActionInvocation invocation)
           
 
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
 

Constructor Detail

TrimParametersInterceptor

public TrimParametersInterceptor()
Method Detail

before

protected void before(com.opensymphony.xwork.ActionInvocation invocation)
               throws java.lang.Exception
Specified by:
before in class com.opensymphony.xwork.interceptor.AroundInterceptor
Throws:
java.lang.Exception

after

protected void after(com.opensymphony.xwork.ActionInvocation dispatcher,
                     java.lang.String result)
              throws java.lang.Exception
Specified by:
after in class com.opensymphony.xwork.interceptor.AroundInterceptor
Throws:
java.lang.Exception


Copyright © 2011 Atlassian. All Rights Reserved.