Class JSONValidationInterceptor

  • All Implemented Interfaces:
    com.opensymphony.xwork2.interceptor.Interceptor, Serializable

    public class JSONValidationInterceptor
    extends AbstractBambooInterceptor
    Taken from xwork 2.1.2 See {@linkplain http://struts.apache.org/2.1.2/struts2-core/apidocs/org/apache/struts2/interceptor/validation/JSONValidationInterceptor.html}
    See Also:
    Serialized Form
    • Constructor Detail

      • JSONValidationInterceptor

        public JSONValidationInterceptor()
    • Method Detail

      • buildResponse

        protected com.opensymphony.webwork.dispatcher.json.JSONObject buildResponse​(com.atlassian.struts.ValidationAware validationAware)
                                                                             throws com.opensymphony.webwork.dispatcher.json.JSONException
        Returns:
        JSON string that contains the errors and field errors
        Throws:
        com.opensymphony.webwork.dispatcher.json.JSONException