public class RequestDispatcher extends AbstractServerObject<ServerContext> implements RequestHandler<ServerContext>
RequestHandler
based on the type of the request. The request is actually handled by a thread
in the RequestServiceThreadPool
.Constructor and Description |
---|
RequestDispatcher(ServerContext serverCtx) |
Modifier and Type | Method and Description |
---|---|
NetResponse |
handleRequest(NetRequest request,
NetResponse response) |
checkPermission, getServerConfig, getServerContext, getStatisticManager, toString
getApplicationContext, getLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannel
configureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toDumpString, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getServerContext
public RequestDispatcher(ServerContext serverCtx)
public NetResponse handleRequest(NetRequest request, NetResponse response)
handleRequest
in interface RequestHandler<ServerContext>
Copyright © 2014 EsprIT-Systems. All Rights Reserved.