public class ByteArrayContent extends Content
Represents content based on a byte array.
DEFAULT_HTTP_ENCODING, DEFAULT_STRING_ENCODING
Constructor and Description |
---|
ByteArrayContent(byte[] content)
Initializes a new instance of the
ByteArrayContent class. |
dispose, getHeaders, readAsByteArray, readAsStream, readAsString
public ByteArrayContent(byte[] content)
Initializes a new instance of the ByteArrayContent
class.
content
- The content.