bsh.util
Class Httpd
java.lang.Object
java.lang.Thread
bsh.util.Httpd
- All Implemented Interfaces:
- Runnable
- public class Httpd
- extends Thread
A very simple httpd that supports the remote server mode.
Files are loaded relative to the classpath (as resources).
Warning: this is not secure! This server can probably be duped into
serving any file on your system! Beware!
Note: at some point this should be recast as a beanshell script.
Constructor Summary |
Httpd(int port)
|
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 |
Httpd
public Httpd(int port)
throws IOException
main
public static void main(String[] argv)
throws IOException
- Throws:
IOException
run
public void run()
© 2000 pat@pat.net :-)