Annotation Interface XssDisable


@Documented @Retention(RUNTIME) @Target({METHOD,TYPE,PARAMETER,FIELD}) public @interface XssDisable
Use this annotation to disable XSS encoding for specific parts of application.
  • Adding at Controller class level disable for all the API's in that controller
  • Adding at Method level disable for that Method and all parameters
  • Adding at Parameter level disable only for that parameter in that method
  • Adding at any class level disable for all parameters with that type
  • Adding at field level disable for that field for all API's
Since:
31/7/18