content
private final byte[] content
Body, DisposableBasicBodyFactorycopy()SingleBody (optional operation).voiddispose()InputStream which reads the bytes of the body.Reader which may be used to read out the contents
of this body.longsize()voidwriteTo(OutputStream out) getParent, setParentTextBodygetMimeCharset in class TextBodygetCharset in class TextBodyTextBodyReader which may be used to read out the contents
of this body.getReader in class TextBodyReader.IOException - on I/O errors.SingleBodyInputStream 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.