## Summary of WebKit.ThreadedAppServer

You can also browse the complete source file or the generated documentation.

    class NotEnoughDataError(Exception):

    class ProtocolError(Exception):

    class ThreadAbortedError(HTTPServiceUnavailable):

    class RequestAbortedError(ThreadAbortedError):

    class RequestTooLongError(RequestAbortedError):

    class ServerShutDownError(ThreadAbortedError):

    class WorkerThread(Thread):
        def threadID(self)
        def abort(self, exception=ThreadAbortedError)
    def setCloseOnExecFlag(fd)

    class ThreadedAppServer(AppServer):

        ## Init ##
        def __init__(self, path=None)
        def addSocketHandler(self, handlerClass, serverAddress=None)
        def isPersistent(self)
        def defaultConfig(self)
        def mainloop(self, timeout=1)

        ## Thread Management ##
        def updateThreadUsage(self)
        def activeThreadCount(self)
        def manageThreadCount(self)
        def spawnThread(self)
        def absorbThread(self, count=1)
        def abortRequest(self, requestID, exception=RequestAbortedError)
        def abortLongRequests(self)

        ## Worker Threads ##
        def threadloop(self)
        def initThread(self)
        def delThread(self)

        ## Shutting Down ##
        def shutDown(self)
        def awakeSelect(self)

        ## Misc ##
        def address(self, settingPrefix)
        def addressFileName(self, handlerClass)

    class Handler(object):
        def __init__(self, server, serverAddress)
        def activate(self, sock, requestID)
        def close(self)
        def receiveDict(self)
        def handleRequest(self)
        def startRequest(self, requestDict=None)
        def endRequest(self, error=None)

    class MonitorHandler(Handler):
        def handleRequest(self)

    class TASStreamOut(ASStreamOut):
        def __init__(self, sock, autoCommit=False, bufferSize=8192)
        def flush(self)

    class AdapterHandler(Handler):
        def handleRequest(self)
        def makeInput(self)

    class SCGIHandler(AdapterHandler):
        def receiveDict(self)
    def runMainLoopInThread()

    class RestartAppServerError(Exception):
    def chdir(path, force=False)

    ## Script usage ##
    def run(workDir=None)
    def shutDown(signum, frame)
    def threadDump(signum, frame)
    def main(args)