followRedirects


Description:

public HttpRequestBuilder followRedirects (bool follow)

Enables or disables redirect following.

By default redirects are followed up to 10 hops.

Parameters:

follow

true to follow redirects.

Returns:

this builder for chaining.