Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
HTTPServerThread(HTTPServer httpServer,
Socket sock)
Creates a new HTTPServerThread to handle a client connection.
|
| Modifier and Type | Method and Description |
|---|---|
void |
run()
Runs the thread to handle HTTP requests from the client.
|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic HTTPServerThread(HTTPServer httpServer, Socket sock)
httpServer - the HTTPServer that will handle the requestssock - the client socket