All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.menglim.sutils.annotations.xssprotection.XSSProtection Maven / Gradle / Ivy

There is a newer version: 1.2.16
Show newest version
package com.github.menglim.sutils.annotations.xssprotection;

import javax.validation.Constraint;
import javax.validation.Payload;
import java.lang.annotation.*;

@Documented
@Constraint(validatedBy = XSSProtectionValidator.class)
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface XSSProtection {

    String locale() default "";

    String message() default "Invalid value";

    Class[] groups() default {};

    Class[] payload() default {};

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy