|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.util.WrapperList<Client>
org.restlet.util.ClientList
public final class ClientList
Modifiable list of client connectors.
Constructor Summary | |
---|---|
ClientList(Context context)
Constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.restlet.util.WrapperList |
---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ClientList(Context context)
context
- The context.Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |