(Quick Reference)

debug

Purpose

Toggles debug logging of the request.

Examples

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

Description

If true, the outbound request and the response will be logged, complete with headers and content. Logging is done through log4j in the com.budjb.requestbuilder package name.