Class TrimParametersInterceptor

java.lang.Object
org.apache.struts2.interceptor.AbstractInterceptor
com.atlassian.bamboo.ww2.interceptors.TrimParametersInterceptor
All Implemented Interfaces:
Serializable, org.apache.struts2.interceptor.ConditionalInterceptor, org.apache.struts2.interceptor.Interceptor

public class TrimParametersInterceptor extends org.apache.struts2.interceptor.AbstractInterceptor
Trims any input that's a String
See Also:
  • Constructor Details

    • TrimParametersInterceptor

      public TrimParametersInterceptor()
  • Method Details

    • intercept

      public String intercept(org.apache.struts2.ActionInvocation actionInvocation) throws Exception
      Specified by:
      intercept in interface org.apache.struts2.interceptor.Interceptor
      Specified by:
      intercept in class org.apache.struts2.interceptor.AbstractInterceptor
      Throws:
      Exception