(Quick Reference)

encodeGzip

Purpose

Enables GZIP encoding on the request.

Examples

jerseyRequestBuilder.post {
    uri = "http://example.com"
    encodeGzip = true
    body = "test message"
}

Description

If true, the outbound request will be compresses using GZIP. The Content-Encoding header will be set to gzip as well.