(Quick Reference)

convertXML

Purpose

Enables conversion of the response to XML

Examples

jerseyRequestBuilder.post {
    uri = "http://example.com"
    convertXML = true
}

Description

If true (default), and the response has a header that indicates XML, convert the response using XmlSlurper.