Annotation Type Multipart

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean required
      How to handle a missing part.
      String type
      Select the part by MIME type.
      String value
      The name of the MIME part to map to this parameter.
    • Element Detail

      • value

        String value
        The name of the MIME part to map to this parameter. The default is the unnamed default part.
        Default:
        ""
      • type

        String type
        Select the part by MIME type. The default is to match any MIME type.
        Default:
        "*/*"
      • required

        boolean required
        How to handle a missing part. By default, if no part matches, the MultipartProvider throws a WebApplicationException with status 400. If this option is set to false, the parameter is set to null instead.
        Default:
        true