Annotation Type FileField


  • @Target(PARAMETER)
    @Retention(RUNTIME)
    public @interface FileField
    Maps a FormField parameter of a Web Script handler method. These fields represent uploaded files in multipart.

    This annotation must be combined with Uri.multipartProcessing() set to true, otherwise the Web Script implementation will fail with a NullPointerException.

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String value
      The form field name.
    • Element Detail

      • value

        java.lang.String value
        The form field name.
        Default:
        ""