- getBodyParts() - Method in class org.glassfish.jersey.media.multipart.MultiPart
-
- getBufferThreshold() - Method in class org.glassfish.jersey.media.multipart.MultiPartProperties
-
Get the size (in bytes) of the entity of an incoming
BodyPart before it will be buffered to disk.
- getContentDisposition() - Method in class org.glassfish.jersey.media.multipart.BodyPart
-
Gets the content disposition.
- getContentDisposition() - Method in class org.glassfish.jersey.media.multipart.FormDataBodyPart
-
- getCreationDate() - Method in class org.glassfish.jersey.media.multipart.ContentDisposition
-
Get the creation-date parameter.
- getDefaultMediaType() - Static method in class org.glassfish.jersey.media.multipart.file.StreamDataBodyPart
-
Gets the default
MediaType to be used if the user didn't specify
any.
- getEntity() - Method in class org.glassfish.jersey.media.multipart.BodyPart
-
Returns the entity object to be unmarshalled from a request, or to be
marshalled on a response.
- getEntity() - Method in class org.glassfish.jersey.media.multipart.MultiPart
-
Disables access to the entity for a
MultiPart.
- getEntityAs(Class<T>) - Method in class org.glassfish.jersey.media.multipart.BodyPart
-
Returns the entity after appropriate conversion to the requested type.
- getExtension() - Method in enum org.glassfish.jersey.media.multipart.file.DefaultMediaTypePredictor.CommonMediaTypes
-
Gets the file extension.
- getField(String) - Method in class org.glassfish.jersey.media.multipart.FormDataMultiPart
-
Gets a form data body part given a control name.
- getFields(String) - Method in class org.glassfish.jersey.media.multipart.FormDataMultiPart
-
Gets a list of one or more form data body parts given a control name.
- getFields() - Method in class org.glassfish.jersey.media.multipart.FormDataMultiPart
-
Gets a map of form data body parts where the key is the control name
and the value is a list of one or more form data body parts.
- getFileEntity() - Method in class org.glassfish.jersey.media.multipart.file.FileDataBodyPart
-
Gets the file for this body part.
- getFileName() - Method in class org.glassfish.jersey.media.multipart.ContentDisposition
-
Get the filename parameter.
- getFilename() - Method in class org.glassfish.jersey.media.multipart.file.StreamDataBodyPart
-
Gets the filename value which is to be used in the content-disposition
header of this body part entity.
- getFormDataContentDisposition() - Method in class org.glassfish.jersey.media.multipart.FormDataBodyPart
-
Gets the form data content disposition.
- getHeaders() - Method in class org.glassfish.jersey.media.multipart.BodyPart
-
Returns a mutable map of HTTP header value(s) for this BodyPart, keyed by the header name.
- getInputStream() - Method in class org.glassfish.jersey.media.multipart.BodyPartEntity
-
Gets the input stream of the raw bytes of this body part entity.
- getInstance() - Static method in class org.glassfish.jersey.media.multipart.file.DefaultMediaTypePredictor
-
Gets the singleton instance of this class.
- getMediaType() - Method in class org.glassfish.jersey.media.multipart.BodyPart
-
- getMediaType() - Method in enum org.glassfish.jersey.media.multipart.file.DefaultMediaTypePredictor.CommonMediaTypes
-
Gets the media type.
- getMediaTypeFromFile(File) - Static method in enum org.glassfish.jersey.media.multipart.file.DefaultMediaTypePredictor.CommonMediaTypes
-
A utility method for predicting media type from a file name.
- getMediaTypeFromFile(File) - Method in class org.glassfish.jersey.media.multipart.file.DefaultMediaTypePredictor
-
- getMediaTypeFromFile(File) - Method in interface org.glassfish.jersey.media.multipart.file.MediaTypePredictor
-
Get the media type from a file name.
- getMediaTypeFromFileName(String) - Static method in enum org.glassfish.jersey.media.multipart.file.DefaultMediaTypePredictor.CommonMediaTypes
-
A utility method for predicting media type from a file name.
- getMediaTypeFromFileName(String) - Method in class org.glassfish.jersey.media.multipart.file.DefaultMediaTypePredictor
-
- getMediaTypeFromFileName(String) - Method in interface org.glassfish.jersey.media.multipart.file.MediaTypePredictor
-
Get the media type from a file name.
- getModificationDate() - Method in class org.glassfish.jersey.media.multipart.ContentDisposition
-
Get the modification-date parameter.
- getName() - Method in class org.glassfish.jersey.media.multipart.FormDataBodyPart
-
Gets the control name.
- getName() - Method in class org.glassfish.jersey.media.multipart.FormDataContentDisposition
-
Get the name parameter.
- getParameterizedHeaders() - Method in class org.glassfish.jersey.media.multipart.BodyPart
-
Returns an immutable map of parameterized HTTP header value(s) for this BodyPart,
keyed by header name.
- getParameters() - Method in class org.glassfish.jersey.media.multipart.ContentDisposition
-
Get the parameters.
- getParent() - Method in class org.glassfish.jersey.media.multipart.BodyPart
-
Returns the parent
MultiPart (if any) for this
BodyPart.
- getPredictor() - Method in class org.glassfish.jersey.media.multipart.file.FileDataBodyPart
-
Gets the media type predictor.
- getProviders() - Method in class org.glassfish.jersey.media.multipart.BodyPart
-
Returns the configured
Providers for this
BodyPart.
- getReadDate() - Method in class org.glassfish.jersey.media.multipart.ContentDisposition
-
Get the read-date parameter.
- getSize() - Method in class org.glassfish.jersey.media.multipart.ContentDisposition
-
Get the size parameter.
- getSize(MultiPart, Class<?>, Type, Annotation[], MediaType) - Method in class org.glassfish.jersey.media.multipart.internal.MultiPartWriter
-
- getStreamEntity() - Method in class org.glassfish.jersey.media.multipart.file.StreamDataBodyPart
-
Gets the underlying stream entity which will form the body part entity.
- getTempDir() - Method in class org.glassfish.jersey.media.multipart.MultiPartProperties
-
Get the directory to store temporary files containing body parts of multipart message that extends allowed memory
threshold.
- getType() - Method in class org.glassfish.jersey.media.multipart.ContentDisposition
-
Get the type.
- getValue() - Method in class org.glassfish.jersey.media.multipart.FormDataBodyPart
-
Gets the field value for this body part.
- getValueAs(Class<T>) - Method in class org.glassfish.jersey.media.multipart.FormDataBodyPart
-
Gets the field value after appropriate conversion to the requested type.
- setContentDisposition(ContentDisposition) - Method in class org.glassfish.jersey.media.multipart.BodyPart
-
Sets the content disposition.
- setContentDisposition(ContentDisposition) - Method in class org.glassfish.jersey.media.multipart.FormDataBodyPart
-
- setEntity(Object) - Method in class org.glassfish.jersey.media.multipart.BodyPart
-
Set the entity object to be unmarshalled from a request, or to be marshalled on a response.
- setEntity(Object) - Method in class org.glassfish.jersey.media.multipart.file.FileDataBodyPart
-
This operation is not supported from this implementation.
- setEntity(Object) - Method in class org.glassfish.jersey.media.multipart.file.StreamDataBodyPart
-
This operation is not supported from this implementation.
- setEntity(Object) - Method in class org.glassfish.jersey.media.multipart.MultiPart
-
Disables access to the entity for a
MultiPart.
- setFileEntity(File) - Method in class org.glassfish.jersey.media.multipart.file.FileDataBodyPart
-
- setFileEntity(File, MediaType) - Method in class org.glassfish.jersey.media.multipart.file.FileDataBodyPart
-
- setFilename(String) - Method in class org.glassfish.jersey.media.multipart.file.StreamDataBodyPart
-
Sets the body part entity filename value to be used in the
content-disposition header.
- setFormDataContentDisposition(FormDataContentDisposition) - Method in class org.glassfish.jersey.media.multipart.FormDataBodyPart
-
Sets the form data content disposition.
- setMediaType(MediaType) - Method in class org.glassfish.jersey.media.multipart.BodyPart
-
- setMediaType(MediaType) - Method in class org.glassfish.jersey.media.multipart.FormDataMultiPart
-
Disables changing the media type to anything other than multipart/form-data.
- setMediaType(MediaType) - Method in class org.glassfish.jersey.media.multipart.MultiPart
-
- setMessageBodyWorkers(MessageBodyWorkers) - Method in class org.glassfish.jersey.media.multipart.BodyPart
-
Set message body workers used to transform an entity stream into particular Java type.
- setName(String) - Method in class org.glassfish.jersey.media.multipart.FormDataBodyPart
-
Sets the control name.
- setParent(MultiPart) - Method in class org.glassfish.jersey.media.multipart.BodyPart
-
Sets the parent
MultiPart (if any) for this
BodyPart.
- setPredictor(MediaTypePredictor) - Method in class org.glassfish.jersey.media.multipart.file.FileDataBodyPart
-
Sets the media type predictor.
- setProviders(Providers) - Method in class org.glassfish.jersey.media.multipart.BodyPart
-
Sets the configured
Providers for this
BodyPart.
- setStreamEntity(InputStream) - Method in class org.glassfish.jersey.media.multipart.file.StreamDataBodyPart
-
Allows to explicitly set the body part entity.
- setStreamEntity(InputStream, MediaType) - Method in class org.glassfish.jersey.media.multipart.file.StreamDataBodyPart
-
Allows to explicitly set the value and the MIME type of the body part
entity.
- setValue(MediaType, Object) - Method in class org.glassfish.jersey.media.multipart.file.FileDataBodyPart
-
This operation is not supported from this implementation.
- setValue(MediaType, Object) - Method in class org.glassfish.jersey.media.multipart.file.StreamDataBodyPart
-
This operation is not supported from this implementation.
- setValue(String) - Method in class org.glassfish.jersey.media.multipart.file.StreamDataBodyPart
-
This operation is not supported from this implementation.
- setValue(String) - Method in class org.glassfish.jersey.media.multipart.FormDataBodyPart
-
Sets the field value for this body part.
- setValue(MediaType, Object) - Method in class org.glassfish.jersey.media.multipart.FormDataBodyPart
-
Sets the field media type and value for this body part.
- size - Variable in class org.glassfish.jersey.media.multipart.ContentDisposition.ContentDispositionBuilder
-
- size(long) - Method in class org.glassfish.jersey.media.multipart.ContentDisposition.ContentDispositionBuilder
-
Add the "size" parameter.
- StreamDataBodyPart - Class in org.glassfish.jersey.media.multipart.file
-
Represents an
InputStream based file submission as a part of the
multipart/form-data.
- StreamDataBodyPart() - Constructor for class org.glassfish.jersey.media.multipart.file.StreamDataBodyPart
-
Default constructor which forces user to manually set
the required (name and streamEntity)
properties.
- StreamDataBodyPart(String, InputStream) - Constructor for class org.glassfish.jersey.media.multipart.file.StreamDataBodyPart
-
- StreamDataBodyPart(String, InputStream, String) - Constructor for class org.glassfish.jersey.media.multipart.file.StreamDataBodyPart
-
- StreamDataBodyPart(String, InputStream, String, MediaType) - Constructor for class org.glassfish.jersey.media.multipart.file.StreamDataBodyPart
-
All-arguments constructor with all requested parameters set by the
caller.