question: public static @ Nullable RequestBody createGzip ( final MediaType mediaType , final String body ) { ByteArrayOutputStream gzipByteArrayOutputStream = new ByteArrayOutputStream ( ) ; try { OutputStream gzipOutputStream = new GZIPOutputStream ( gzipByteArrayOutputStream ) ; gzipOutputStream . write ( body . getBytes ( ) ) ; gzipOutputStream . close ( ) ; } catch ( IOException e ) { return null ; } return RequestBody . create ( mediaType , gzipByteArrayOutputStream . toByteArray ( ) ) ; }
target:  Creates a RequestBody from a mediaType and gzip-ed body string