private static final class FormDataElement.ByteArrayElement extends FormDataElement
| Modifier and Type | Field and Description |
|---|---|
private byte[] |
byteArray |
| Modifier | Constructor and Description |
|---|---|
private |
ByteArrayElement(byte[] byteArray) |
| Modifier and Type | Method and Description |
|---|---|
protected java.io.InputStream |
createInputStream()
Creates the input stream from which the content of this element
can be read.
|
protected long |
doGetSize()
Returns the size of this element's content in bytes.
|
close, getInputStream, getSize, openprotected java.io.InputStream createInputStream()
FormDataElementcreateInputStream in class FormDataElementprotected long doGetSize()
FormDataElementdoGetSize in class FormDataElement