public class PSReqWorker extends ReqWorker
Modifier and Type | Field and Description |
---|---|
static int |
SERVICE_MODE |
ACCESS_DENIED, clientAddr, DUBLICATE_ERROR, FILE_MODE, httpMsg, method, mimeType, NO_RESOURCE, NO_SERVICE, NORMAL, port, queryParam, queryStr, rbFile, rbLength, rbString, request, REQUEST_ERR, resAccessible, resFileExt, resPath, respCode, respMode, resURI, SERVER_ERR, sock, status, UPLOAD_MODE
Constructor and Description |
---|
PSReqWorker(java.net.Socket sock)
Initializer method for the Request.
|
Modifier and Type | Method and Description |
---|---|
void |
switchRespBody() |
void |
switchRespMode() |
accessibleFile, analyseRequest, analyzeFileMode, analyzeUploadMode, getFileExt, getMIMEType, getRequest, httpHeader, logRequest, methodSupported, parseQueryParam, parseRequest, respBody, resPhysPath, respond, run, sendResponse, streamResponseFile
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 static final int SERVICE_MODE
public PSReqWorker(java.net.Socket sock)
sock
- Socket for particular client request.public void switchRespMode()
switchRespMode
in class ReqWorker
public void switchRespBody()
switchRespBody
in class ReqWorker