org.apache.http.impl.client
Class RedirectLocations

java.lang.Object
  extended by org.apache.http.impl.client.RedirectLocations

@NotThreadSafe
public class RedirectLocations
extends Object

A collection of URIs that were used as redirects.

Since:
4.0

Constructor Summary
RedirectLocations()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RedirectLocations

public RedirectLocations()
Method Detail

contains

public boolean contains(URI uri)
Returns true if this collection contains the given URI.


add

public void add(URI uri)
Adds a new URI to the list of redirects.


remove

public boolean remove(URI uri)
Removes a URI from the list of redirects.



Copyright © 1999-2010 Apache Software Foundation. All Rights Reserved.