java.lang.Object | ||
↳ | org.apache.http.entity.mime.content.AbstractContentBody | |
↳ | org.apache.http.entity.mime.content.ByteArrayBody |
Body part that is built using a byte array containing a file.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new ByteArrayBody.
| |||||||||||
Creates a new ByteArrayBody.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.http.entity.mime.content.AbstractContentBody
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.apache.http.entity.mime.content.ContentBody
| |||||||||||
From interface
org.apache.http.entity.mime.content.ContentDescriptor
|
Creates a new ByteArrayBody.
data | The contents of the file contained in this part. |
---|---|
mimeType | The mime type of the file contained in this part. |
filename | The name of the file contained in this part. |
Creates a new ByteArrayBody.
data | The contents of the file contained in this part. |
---|---|
filename | The name of the file contained in this part. |