Annotation Interface EnctypePostRequired


@Constraint(validatedBy=EnctypePostRequiredValidator.class) @Target({TYPE,FIELD}) @Retention(RUNTIME) public @interface EnctypePostRequired
The annotated Form must not have an encytpe declared if the method is not post.
Since:
5.1.0
Author:
Sergio del Amo
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Class<?>[]
     
     
    Class<? extends jakarta.validation.Payload>[]
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Field Details

  • Element Details

    • message

      String message
      Default:
      "{io.micronaut.views.fields.constraints.EnctypePostRequired.message}"
    • groups

      Class<?>[] groups
      Default:
      {}
    • payload

      Class<? extends jakarta.validation.Payload>[] payload
      Default:
      {}