public final class ClientList extends WrapperList<Client>
Constructor and Description |
---|
ClientList(Context context)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
add(Client client)
Adds a element at the end of the list.
|
Client |
add(Protocol protocol)
Adds a new client connector in the map supporting the given protocol.
|
Context |
getContext()
Returns the context.
|
void |
setContext(Context context)
Sets the context.
|
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, toString
public ClientList(Context context)
context
- The context.public boolean add(Client client)
WrapperList
add
in interface java.util.Collection<Client>
add
in interface java.util.List<Client>
add
in class WrapperList<Client>
public Client add(Protocol protocol)
protocol
- The connector protocol.public Context getContext()
public void setContext(Context context)
context
- The context.Copyright © 2005-2024 Restlet.