Additional top-level class in compilation unit: HttpdConnection.
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.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv ServerSocket |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| public void | run()
Overrides java. Implements java. |
| ss | back to summary |
|---|---|
| pack-priv ServerSocket ss | |
| Httpd | back to summary |
|---|---|
| public Httpd(int port) throws IOException | |
| main | back to summary |
|---|---|
| public static void main(String[] argv) throws IOException | |
| run | back to summary |
|---|---|
| public void run() Overrides java. Implements java. Doc from java. This method is run by the thread when it executes. Subclasses of This method is not intended to be invoked directly. If this thread is a
platform thread created with a | |