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.

No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.