content
private final byte[] content
Body, DisposableBasicBodyFactorycopy()SingleBody (optional operation).voiddispose()InputStream which reads the bytes of the body.longsize()voidwriteTo(OutputStream out) getParent, setParentSingleBodyInputStream which reads the bytes of the body.getInputStream in class SingleBodyIOException - on I/O errors.SingleBodySingleBody.getInputStream() to the specified output
stream. May be overwritten by a subclass to improve performance.writeTo in class SingleBodyout - the stream to write to.IOException - in case of an I/O errorsize in class SingleBodySingleBodydispose in interface Disposabledispose in class SingleBodySingleBodySingleBody (optional operation).
The general contract of this method is as follows:
SingleBody.getParent() on the copy returns null.
That means that the copy is detached from the parent entity of this
SingleBody. The copy may get attached to a different
entity later on.SingleBody.
This implementation always throws an
UnsupportedOperationException.
copy in class SingleBodySingleBody.