
org.carlspring.commons.http.range.validation.ByteRangeCheck Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of commons-http Show documentation
Show all versions of commons-http Show documentation
A library for common HTTP operations.
The newest version!
package org.carlspring.commons.http.range.validation;
import javax.validation.Constraint;
import javax.validation.Payload;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* @author Pablo Tirado
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Constraint(validatedBy = ByteRangeCheckValidator.class)
public @interface ByteRangeCheck
{
String message();
Class>[] groups() default {};
Class extends Payload>[] payload() default {};
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy