- getBodyParts() - Method in class com.sun.jersey.multipart.MultiPart
-
- getBufferThreshold() - Method in class com.sun.jersey.multipart.MultiPartConfig
-
Return the size (in bytes) of the entity of an incoming
BodyPart before it will be buffered to disk.
- getContentDisposition() - Method in class com.sun.jersey.multipart.BodyPart
-
Get the content disposition.
- getContentDisposition() - Method in class com.sun.jersey.multipart.FormDataBodyPart
-
- getDefaultMediaType() - Static method in class com.sun.jersey.multipart.file.StreamDataBodyPart
-
Gets the default
MediaType to be used if the user didn't specify
any.
- getEntity() - Method in class com.sun.jersey.multipart.BodyPart
-
Return the entity object to be unmarshalled from a request, or to be
marshalled on a response.
- getEntity() - Method in class com.sun.jersey.multipart.MultiPart
-
Disable access to the entity for a
MultiPart.
- getEntityAs(Class<T>) - Method in class com.sun.jersey.multipart.BodyPart
-
Return the entity after appropriate conversion to the requested
type.
- getExtension() - Method in enum com.sun.jersey.multipart.file.DefaultMediaTypePredictor.CommonMediaTypes
-
Get the file extension.
- getField(String) - Method in class com.sun.jersey.multipart.FormDataMultiPart
-
Get a form data body part given a control name.
- getFields(String) - Method in class com.sun.jersey.multipart.FormDataMultiPart
-
Get a list of one or more form data body parts given a control name.
- getFields() - Method in class com.sun.jersey.multipart.FormDataMultiPart
-
Get 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 com.sun.jersey.multipart.file.FileDataBodyPart
-
Get the file for this body part.
- getFilename() - Method in class com.sun.jersey.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 com.sun.jersey.multipart.FormDataBodyPart
-
Get the form data content disposition.
- getHeaders() - Method in class com.sun.jersey.multipart.BodyPart
-
Return a mutable map of HTTP header value(s) for this
BodyPart,
keyed by the header name.
- getInputStream() - Method in class com.sun.jersey.multipart.BodyPartEntity
-
Get the input stream to the raw bytes of this body part entity.
- getInstance() - Static method in class com.sun.jersey.multipart.file.DefaultMediaTypePredictor
-
Get the singleton instance of this class.
- getMediaType() - Method in class com.sun.jersey.multipart.BodyPart
-
- getMediaType() - Method in enum com.sun.jersey.multipart.file.DefaultMediaTypePredictor.CommonMediaTypes
-
Get the media type.
- getMediaTypeFromFile(File) - Static method in enum com.sun.jersey.multipart.file.DefaultMediaTypePredictor.CommonMediaTypes
-
A utility method for predicting media type from a file name.
- getMediaTypeFromFile(File) - Method in class com.sun.jersey.multipart.file.DefaultMediaTypePredictor
-
- getMediaTypeFromFile(File) - Method in interface com.sun.jersey.multipart.file.MediaTypePredictor
-
Get the media type from a file name.
- getMediaTypeFromFileName(String) - Static method in enum com.sun.jersey.multipart.file.DefaultMediaTypePredictor.CommonMediaTypes
-
A utility method for predicting media type from a file name.
- getMediaTypeFromFileName(String) - Method in class com.sun.jersey.multipart.file.DefaultMediaTypePredictor
-
- getMediaTypeFromFileName(String) - Method in interface com.sun.jersey.multipart.file.MediaTypePredictor
-
Get the media type from a file name.
- getName() - Method in class com.sun.jersey.multipart.FormDataBodyPart
-
Get the control name.
- getParameterizedHeaders() - Method in class com.sun.jersey.multipart.BodyPart
-
Return an immutable map of parameterized HTTP header value(s) for this
BodyPart, keyed by header name.
- getParent() - Method in class com.sun.jersey.multipart.BodyPart
-
- getPredictor() - Method in class com.sun.jersey.multipart.file.FileDataBodyPart
-
Get the media type predictor.
- getProviders() - Method in class com.sun.jersey.multipart.BodyPart
-
- getStreamEntity() - Method in class com.sun.jersey.multipart.file.StreamDataBodyPart
-
Gets the underlying stream entity which will form the body part entity.
- getValue() - Method in class com.sun.jersey.multipart.FormDataBodyPart
-
Get the field value for this body part.
- getValueAs(Class<T>) - Method in class com.sun.jersey.multipart.FormDataBodyPart
-
Get the field value after appropriate conversion to the requested
type.
- setContentDisposition(ContentDisposition) - Method in class com.sun.jersey.multipart.BodyPart
-
Set the content disposition.
- setContentDisposition(ContentDisposition) - Method in class com.sun.jersey.multipart.FormDataBodyPart
-
- setEntity(Object) - Method in class com.sun.jersey.multipart.BodyPart
-
Set the entity object to be unmarshalled from a request, or to be
marshalled on a response.
- setEntity(Object) - Method in class com.sun.jersey.multipart.file.FileDataBodyPart
-
This operation is not supported from this implementation.
- setEntity(Object) - Method in class com.sun.jersey.multipart.file.StreamDataBodyPart
-
This operation is not supported from this implementation.
- setEntity(Object) - Method in class com.sun.jersey.multipart.MultiPart
-
Disable access to the entity for a
MultiPart.
- setFileEntity(File) - Method in class com.sun.jersey.multipart.file.FileDataBodyPart
-
- setFileEntity(File, MediaType) - Method in class com.sun.jersey.multipart.file.FileDataBodyPart
-
- setFilename(String) - Method in class com.sun.jersey.multipart.file.StreamDataBodyPart
-
Sets the body part entity filename value to be used in the
content-disposition header.
- setFormDataContentDisposition(FormDataContentDisposition) - Method in class com.sun.jersey.multipart.FormDataBodyPart
-
Set the form data content disposition.
- setMediaType(MediaType) - Method in class com.sun.jersey.multipart.BodyPart
-
- setMediaType(MediaType) - Method in class com.sun.jersey.multipart.FormDataMultiPart
-
Disable changing the media type to anything other than
multipart/form-data.
- setMediaType(MediaType) - Method in class com.sun.jersey.multipart.MultiPart
-
- setName(String) - Method in class com.sun.jersey.multipart.FormDataBodyPart
-
Set the control name.
- setParent(MultiPart) - Method in class com.sun.jersey.multipart.BodyPart
-
- setPredictor(MediaTypePredictor) - Method in class com.sun.jersey.multipart.file.FileDataBodyPart
-
Set the media type predictor.
- setProviders(Providers) - Method in class com.sun.jersey.multipart.BodyPart
-
- setStreamEntity(InputStream) - Method in class com.sun.jersey.multipart.file.StreamDataBodyPart
-
Allows to explicitly set the body part entity.
- setStreamEntity(InputStream, MediaType) - Method in class com.sun.jersey.multipart.file.StreamDataBodyPart
-
Allows to explicitly set the value and the MIME type of the body part
entity.
- setValue(MediaType, Object) - Method in class com.sun.jersey.multipart.file.FileDataBodyPart
-
This operation is not supported from this implementation.
- setValue(MediaType, Object) - Method in class com.sun.jersey.multipart.file.StreamDataBodyPart
-
This operation is not supported from this implementation.
- setValue(String) - Method in class com.sun.jersey.multipart.file.StreamDataBodyPart
-
This operation is not supported from this implementation.
- setValue(String) - Method in class com.sun.jersey.multipart.FormDataBodyPart
-
Set the field value for this body part.
- setValue(MediaType, Object) - Method in class com.sun.jersey.multipart.FormDataBodyPart
-
Set the field media type and value for this body part.
- StreamDataBodyPart - Class in com.sun.jersey.multipart.file
-
Represents an InputStream based file submission as a part of the
multipart/form-data.
- StreamDataBodyPart() - Constructor for class com.sun.jersey.multipart.file.StreamDataBodyPart
-
Default constructor which forces user to manually set
the required (name and streamEntity)
properties.
- StreamDataBodyPart(String, InputStream) - Constructor for class com.sun.jersey.multipart.file.StreamDataBodyPart
-
- StreamDataBodyPart(String, InputStream, String) - Constructor for class com.sun.jersey.multipart.file.StreamDataBodyPart
-
- StreamDataBodyPart(String, InputStream, String, MediaType) - Constructor for class com.sun.jersey.multipart.file.StreamDataBodyPart
-
All-arguments constructor with all requested parameters set by the
caller.