Skip to content

Most visited

Recently visited

navigation

RedirectLocations | Android Developers

to top
Android APIs
public class

RedirectLocations

extends Object
java.lang.Object
   ↳ org.apache.http.impl.client.RedirectLocations

Class Overview

A collection of URIs that were used as redirects.

Summary

Public Constructors
RedirectLocations()
Public Methods
void add(URI uri)
Adds a new URI to the list of redirects.
boolean contains(URI uri)
Returns true if this collection contains the given URI.
boolean remove(URI uri)
Removes a URI from the list of redirects.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public RedirectLocations ()

Added in API level 1

Public Methods

public void add (URI uri)

Added in API level 1

Adds a new URI to the list of redirects.

public boolean contains (URI uri)

Added in API level 1

Returns true if this collection contains the given URI.

public boolean remove (URI uri)

Added in API level 1

Removes a URI from the list of redirects.

This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.