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, toStringgetApplicationContext, getLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannelconfigureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toDumpString, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetServerContextpublic RequestDispatcher(ServerContext serverCtx)
public NetResponse handleRequest(NetRequest request, NetResponse response)
handleRequest in interface RequestHandler<ServerContext>Copyright © 2014 EsprIT-Systems. All Rights Reserved.