Annotation Type FileType


  • @Retention(SOURCE)
    @Target({FIELD,PARAMETER})
    public @interface FileType
    When provided only supported file type will be allowed.

    This annotation accepts multiple supported file MIME types separated with ",". For e.g. "application/vnd.aa.workflow,application/vnd.aa.form". Do not provide any regular expression in the value.

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String value  
    • Element Detail

      • value

        java.lang.String value