|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--java.lang.Thread
|
+--bsh.util.HttpdConnection
| Field Summary | |
(package private) java.net.Socket |
client
|
(package private) java.io.BufferedReader |
in
|
(package private) boolean |
isHttp1
|
(package private) java.io.OutputStream |
out
|
(package private) java.io.PrintStream |
pout
|
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
(package private) |
HttpdConnection(java.net.Socket client)
|
| Method Summary | |
private void |
error(int num,
java.lang.String s)
|
void |
run()
|
private void |
sendFileData(java.lang.String file)
|
private void |
serveFile(java.lang.String file)
|
| 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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
java.net.Socket client
java.io.BufferedReader in
java.io.OutputStream out
java.io.PrintStream pout
boolean isHttp1
| Constructor Detail |
HttpdConnection(java.net.Socket client)
| Method Detail |
public void run()
run in interface java.lang.Runnablerun in class java.lang.Thread
private void serveFile(java.lang.String file)
throws java.io.FileNotFoundException,
java.io.IOException
java.io.FileNotFoundException
java.io.IOException
private void sendFileData(java.lang.String file)
throws java.io.IOException,
java.io.FileNotFoundException
java.io.IOException
java.io.FileNotFoundException
private void error(int num,
java.lang.String s)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||