org.restlet.util
Class ClientList

java.lang.Object
  extended by org.restlet.util.WrapperList<Client>
      extended by org.restlet.util.ClientList
All Implemented Interfaces:
Iterable<Client>, Collection<Client>, List<Client>

public final class ClientList
extends WrapperList<Client>

Modifiable list of client connectors.

Author:
Jerome Louvel (contact@noelios.com)

Constructor Summary
ClientList(Context context)
          Constructor.
 
Method Summary
 Client add(Protocol protocol)
          Adds a new client connector in the map supporting the given protocol.
 
Methods inherited from class org.restlet.util.WrapperList
add, add, addAll, addAll, clear, contains, containsAll, equals, get, getDelegate, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientList

public ClientList(Context context)
Constructor.

Parameters:
context - The context.
Method Detail

add

public Client add(Protocol protocol)
Adds a new client connector in the map supporting the given protocol.

Parameters:
protocol - The connector protocol.
Returns:
The added client.


Copyright © 2005-2007 Noelios Technologies.