FileDocCategorySizeDatePackage
RedirectLocations.javaAPI DocAndroid 1.5 API2234Wed May 06 22:41:10 BST 2009org.apache.http.impl.client

RedirectLocations

public class RedirectLocations extends Object
A collection of URIs that were used as redirects.

Fields Summary
private final Set
uris
Constructors Summary
public RedirectLocations()

        super();
        this.uris = new HashSet<URI>();
    
Methods Summary
public voidadd(java.net.URI uri)
Adds a new URI to the list of redirects.

        this.uris.add(uri);
    
public booleancontains(java.net.URI uri)
Returns true if this collection contains the given URI.

        return this.uris.contains(uri);
    
public booleanremove(java.net.URI uri)
Removes a URI from the list of redirects.

        return this.uris.remove(uri);