Package org.cybergarage.http
Class HTTPServerList
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.Vector<HTTPServer>
-
- org.cybergarage.http.HTTPServerList
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<HTTPServer>
,Collection<HTTPServer>
,List<HTTPServer>
,RandomAccess
public class HTTPServerList extends Vector<HTTPServer>
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
-
Fields inherited from class java.util.AbstractList
modCount
-
-
Constructor Summary
Constructors Constructor Description HTTPServerList()
HTTPServerList(InetAddress[] list, int port)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addRequestListener(HTTPRequestListener listener)
void
close()
HTTPServer
getHTTPServer(int n)
int
open()
boolean
open(int port)
void
start()
void
stop()
-
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, forEach, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeIf, removeRange, replaceAll, retainAll, set, setElementAt, setSize, size, sort, spliterator, subList, toArray, toArray, toString, trimToSize
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
-
-
-
-
Constructor Detail
-
HTTPServerList
public HTTPServerList()
-
HTTPServerList
public HTTPServerList(InetAddress[] list, int port)
-
-
Method Detail
-
addRequestListener
public void addRequestListener(HTTPRequestListener listener)
-
getHTTPServer
public HTTPServer getHTTPServer(int n)
-
close
public void close()
-
open
public int open()
-
open
public boolean open(int port)
-
start
public void start()
-
stop
public void stop()
-
-