Package org.glassfish.jersey.media.multipart.file
Provides support for body parts that are file attachments.
The file attachment can be represented i.e. by the
File
(FileDataBodyPart) or
by the InputStream
(StreamDataBodyPart).-
Interface Summary Interface Description MediaTypePredictor An interface which allows developers implement their own media type predictor. -
Class Summary Class Description DefaultMediaTypePredictor Default implementation ofMediaTypePredictorthat usesDefaultMediaTypePredictor.CommonMediaTypes.FileDataBodyPart An extension ofFormDataBodyPartfor associatingFileFile as a body part entity.StreamDataBodyPart Represents anInputStreambased file submission as a part of the multipart/form-data. -
Enum Summary Enum Description DefaultMediaTypePredictor.CommonMediaTypes This enum represents file extension and MIME types of commonly used file.