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, open
protected java.io.InputStream createInputStream()
FormDataElement
createInputStream
in class FormDataElement
protected long doGetSize()
FormDataElement
doGetSize
in class FormDataElement