Code example for ByteArrayEntity

Methods: setContentEncodingsetContentType