Android APIs
public class

RedirectLocations

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

This class is deprecated.
Please use openConnection() instead. Please visit this webpage for further details.

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.