|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.limegroup.gnutella.browser.HTTPHandler
Handle a pure HTTP request
| Constructor Summary | |
HTTPHandler(java.net.Socket socket,
java.lang.String line)
|
|
| Method Summary | |
static HTTPHandler |
create(java.net.Socket socket,
java.lang.String line)
Create and execute the handler without a new thread. |
void |
handle()
Handle the request |
void |
uploadFile(java.io.File apath)
Read in and return a file. |
void |
writeError()
Write out a 404 error. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HTTPHandler(java.net.Socket socket,
java.lang.String line)
| Method Detail |
public static HTTPHandler create(java.net.Socket socket,
java.lang.String line)
public void handle()
public void uploadFile(java.io.File apath)
public void writeError()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||