Code example for StringEntity

Methods: setContentType