(Quick Reference)

readTimeout

Purpose

Sets the read timeout of the request, in milliseconds.

Examples

jerseyRequestBuilder.get {
    uri = "http://example.com"
    readTimeout = 5000 // 5 seconds
}

Description

Sets the read timeout of the request, in milliseconds.