@Internal public interface FileUpload
Represents a part of a MediaType.MULTIPART_FORM_DATA
request.
Modifier and Type | Method and Description |
---|---|
java.util.Optional<MediaType> |
getContentType()
Gets the content type of this part.
|
long |
getDefinedSize()
Returns the defined content length of the part.
|
java.lang.String |
getFilename()
Gets the name of this part.
|
java.lang.String |
getName()
Gets the name of this part.
|
long |
getSize()
Returns the size of the part.
|
boolean |
isComplete()
Returns whether the
FileUpload has been fully uploaded or is in a partial state. |
java.util.Optional<MediaType> getContentType()
java.lang.String getName()
java.lang.String getFilename()
long getSize()
long getDefinedSize()
boolean isComplete()
FileUpload
has been fully uploaded or is in a partial state.