Annotation Type MultipartForm


  • @Deprecated(forRemoval=true)
    @Retention(RUNTIME)
    @Target({PARAMETER,TYPE})
    public @interface MultipartForm
    Deprecated, for removal: This API element is subject to removal in a future version.
    this annotation is not required anymore: you can use BeanParam or just omit it entirely, as long as your container class holds any annotated fields with RestForm, RestCookie, RestHeader, RestPath, RestMatrix, RestQuery or their JAX-RS equivalents.
    Annotation to be used on POJOs meant to map to the various parts 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
      Deprecated, for removal: This API element is subject to removal in a future version.
       
    • Element Detail

      • value

        String value
        Deprecated, for removal: This API element is subject to removal in a future version.
        Default:
        ""