Annotation Type MultipartForm


  • @Retention(RUNTIME)
    @Target({PARAMETER,TYPE})
    public @interface MultipartForm
    Annotation to be used on POJOs meant to map to the various parts of of multipart/form-data HTTP bodies. Each part of the POJO that should be mapped to a part of the body should be annotated with RestForm. In order to facilitate conversion to the field's body type, PartType should be used to determine the media type of the corresponding body part. It's important to take caution when using such POJOs to read via FileUpload, java.io.File or java.nio.file.Path uploaded files in a blocking manner, that the resource method should be annotated with Blocking.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String value  
    • Element Detail

      • value

        String value
        Default:
        ""