bsh.util

Class Httpd


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)

Method Summary

static void
main(argv[] )
void
run()

Constructor Details

Httpd

public Httpd(int port)
            throws IOException

Method Details

main

public static void main(argv[] )
            throws IOException

run

public void run()

B) 2000 pat@pat.net :-)