Interface MultipartContent

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface MultipartContent
    Represents the entity parts of multipart/form-data content.
    Author:
    James R. Perkins
    • Method Detail

      • entityParts

        List<jakarta.ws.rs.core.EntityPart> entityParts()
        Returns the entity parts for multipart/form-data types.
        Returns:
        the entity parts or an empty list.
      • entityPart

        default Optional<jakarta.ws.rs.core.EntityPart> entityPart​(String name)
        Returns the optional entity part for a multipart/form-data request.
        Parameters:
        name - the name of the entity part
        Returns:
        an optional entity part for the name