public class

RedirectHandlers

extends Object
java.lang.Object
   ↳ org.chromium.net.apihelpers.RedirectHandlers

Class Overview

Utility class for standard RedirectHandler implementations. *

Summary

Public Methods
static RedirectHandler alwaysFollow()
Returns a redirect handler that always follows redirects.
static RedirectHandler neverFollow()
Returns a redirect handler that never follows redirects.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static RedirectHandler alwaysFollow ()

Returns a redirect handler that always follows redirects.

Note that the maximum number of redirects to follow is still limited internally to prevent infinite looping.

Returns
RedirectHandler

public static RedirectHandler neverFollow ()

Returns a redirect handler that never follows redirects.

Returns
RedirectHandler