protected class HttpTunnelServer.ServerThread extends Thread
Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
ServerThread(ByteChannel targetServer) |
Modifier and Type | Method and Description |
---|---|
void |
handleIncomingHttp(HttpTunnelServer.HttpConnection httpConnection)
Handle an incoming
HttpTunnelServer.HttpConnection . |
void |
run() |
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, yield
public ServerThread(ByteChannel targetServer)
public void handleIncomingHttp(HttpTunnelServer.HttpConnection httpConnection) throws IOException
HttpTunnelServer.HttpConnection
.httpConnection
- the connection to handle.IOException
- in case of I/O errors