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
MediaTypePredictorthat usesDefaultMediaTypePredictor.CommonMediaTypes.This enum represents file extension and MIME types of commonly used file.An extension ofFormDataBodyPartfor associatingFileFile as a body part entity.An interface which allows developers implement their own media type predictor.Represents anInputStreambased file submission as a part of the multipart/form-data.