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 ofMediaTypePredictor
that usesDefaultMediaTypePredictor.CommonMediaTypes
.FileDataBodyPart An extension ofFormDataBodyPart
for associatingFile
File as a body part entity.StreamDataBodyPart Represents anInputStream
based 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.