Thread.State, Thread.UncaughtExceptionHandler| 限定符和类型 | 字段和说明 |
|---|---|
static String |
KEY |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| 限定符和类型 | 方法和说明 |
|---|---|
static String |
getContentType(String fileName) |
void |
run() |
static void |
send404Response(OutputStream out,
String path) |
static void |
sendOkResponse(OutputStream out,
long length,
String type) |
static void |
sendOkResponse(OutputStream out,
long length,
String type,
int rangS,
int rangE,
int rangSize) |
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 static void sendOkResponse(OutputStream out, long length, String type) throws IOException
IOExceptionpublic static void sendOkResponse(OutputStream out, long length, String type, int rangS, int rangE, int rangSize) throws IOException
IOExceptionpublic static void send404Response(OutputStream out, String path) throws IOException
IOException