followRedirects
Purpose
Whether to automatically redirect redirect HTTP status codes.Examples
jerseyRequestBuilder.post {
uri = "http://example.com"
followRedirects = true
}Description
Iftrue (default), allow Jersey Client to automatically follow through HTTP redirects. The response will be received from the final redirected endpoint.
If this property is set to false, redirect HTTP status codes will throw an exception as all non-successful HTTP status codes do. See skipStatusCheck
for more information on this behavior.