Package org.glassfish.jersey.media.multipart.file
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
).-
ClassDescriptionDefault implementation of
MediaTypePredictor
that usesDefaultMediaTypePredictor.CommonMediaTypes
.This enum represents file extension and MIME types of commonly used file.An extension ofFormDataBodyPart
for associatingFile
File as a body part entity.An interface which allows developers implement their own media type predictor.Represents anInputStream
based file submission as a part of the multipart/form-data.