Body
The body of a request or response.
Note that its contents can only be consumed once, via the ByteSource returned by consumeContent.
Properties
Link copied to clipboard
The size, in bytes, of the content, if known / provided ahead of time (or null otherwise).
Link copied to clipboard
The content type that describes the bytes owned by this body.
Functions
Link copied to clipboard
Convenience method to convert a body's content into a raw byte array.
Link copied to clipboard
Open an async stream up that consumes the content of this body.
Link copied to clipboard
Fetch details for this body's content IF its content is split up into multipart sections
Link copied to clipboard
Convert this byte source into an InputStream.