org.jboss.remoting.transport.http.test
Class SimpleHTTPServer

java.lang.Object
  extended byjava.lang.Thread
      extended byorg.jboss.remoting.transport.http.test.SimpleHTTPServer
All Implemented Interfaces:
Runnable

public class SimpleHTTPServer
extends Thread

Author:
Tom Elrod

Nested Class Summary
 class SimpleHTTPServer.TimeoutTimerTask
           
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
SimpleHTTPServer(byte[] data, String encoding, String MIMEType, int port)
           
SimpleHTTPServer(String data, String encoding, String MIMEType, int port)
           
 
Method Summary
static void main(String[] args)
           
 void run()
           
protected  void startTimer(Thread currentThread)
           
 
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

SimpleHTTPServer

public SimpleHTTPServer(String data,
                        String encoding,
                        String MIMEType,
                        int port)
                 throws UnsupportedEncodingException

SimpleHTTPServer

public SimpleHTTPServer(byte[] data,
                        String encoding,
                        String MIMEType,
                        int port)
                 throws UnsupportedEncodingException
Method Detail

startTimer

protected void startTimer(Thread currentThread)

run

public void run()

main

public static void main(String[] args)


Copyright © 2004 JBoss Inc. All Rights Reserved.