Package org.jboss.resteasy.spi.multipart
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.
Represents the entity parts of
multipart/form-data content.- Author:
- James R. Perkins
-
Method Summary
Modifier and TypeMethodDescriptiondefault Optional<EntityPart>entityPart(String name) Returns the optional entity part for amultipart/form-datarequest.Returns the entity parts for multipart/form-data types.
-
Method Details
-
entityParts
List<EntityPart> entityParts()Returns the entity parts for multipart/form-data types.- Returns:
- the entity parts or an empty list.
-
entityPart
Returns the optional entity part for amultipart/form-datarequest.- Parameters:
name- the name of the entity part- Returns:
- an optional entity part for the name
-