Package io.avaje.validation.constraints
Annotation Interface Length
@Target({METHOD,FIELD,ANNOTATION_TYPE,PARAMETER,TYPE_USE})
@Retention(RUNTIME)
@Repeatable(List.class)
public @interface Length
The annotated string length must be between the specified boundaries (included).
Supported types are:
CharSequence(length of character sequence is evaluated)String(length of character sequence is evaluated)
-
Nested Class Summary
Nested Classes -
Optional Element Summary
Optional Elements