HttpURLConnection.FollowRedirects Property

Definition

Returns a boolean indicating whether or not HTTP redirects (3xx) should be automatically followed. -or- Sets whether HTTP redirects (requests with response code 3xx) should be automatically followed by this class.

public static bool FollowRedirects { [Android.Runtime.Register("getFollowRedirects", "()Z", "")] get; [Android.Runtime.Register("setFollowRedirects", "(Z)V", "")] set; }
[<get: Android.Runtime.Register("getFollowRedirects", "()Z", "")>]
[<set: Android.Runtime.Register("setFollowRedirects", "(Z)V", "")>]
member this.FollowRedirects : bool with get, set

Property Value

Boolean

true if HTTP redirects should be automatically followed, false if not.

Attributes

Remarks

Property getter documentation:

Java documentation for java.net.HttpURLConnection.getFollowRedirects().

Property setter documentation:

Java documentation for java.net.HttpURLConnection.setFollowRedirects(boolean).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also