luxor.http
Class WebServer

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--luxor.http.WebServer
All Implemented Interfaces:
java.lang.Runnable

public class WebServer
extends java.lang.Thread


Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
WebServer(int port, WebResourceLoader loader)
           
 
Method Summary
 void addRequestListener(RequestListener l)
           
protected  void fireRequestAccepted(RequestResponseInfo info)
           
protected  void fireRequestServiced(RequestResponseInfo info)
           
static void main(java.lang.String[] args)
          test driver
 void removeRequestListener(RequestListener l)
           
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WebServer

public WebServer(int port,
                 WebResourceLoader loader)
          throws java.io.IOException
Method Detail

main

public static void main(java.lang.String[] args)
test driver


addRequestListener

public void addRequestListener(RequestListener l)

removeRequestListener

public void removeRequestListener(RequestListener l)

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

fireRequestAccepted

protected void fireRequestAccepted(RequestResponseInfo info)

fireRequestServiced

protected void fireRequestServiced(RequestResponseInfo info)


Copyright 2001, 2002 Gerald Bauer. All Rights Reserved. Hosted by SourceForge Logo