|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.objectwave.simpleSockets.FileHandler
Use the class as a parameter to SimpleHTTP to create a trivial web server.
| Constructor Summary | |
FileHandler()
|
|
| Method Summary | |
static void |
main(java.lang.String[] args)
A convienence method to start the SimpleHTTP server. |
java.io.InputStream |
processRequest(java.lang.String request)
Implement the ReplyHandler interface to return a file that matches the request. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FileHandler()
| Method Detail |
public static void main(java.lang.String[] args)
public java.io.InputStream processRequest(java.lang.String request)
processRequest in interface ReplyHandlerrequest - String A file name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||