public class WebServer extends AbstractServerObject<ServerContext>
| Constructor and Description |
|---|
WebServer(ServerContext serverCtx) |
| Modifier and Type | Method and Description |
|---|---|
void |
addContextHandler(java.lang.String contextPath,
com.sun.net.httpserver.HttpHandler handler)
Allows for adding a special handler for a special contextPath.
|
void |
close() |
void |
start() |
getServerConfig, getServerContext, getServerParams, getServerStartup, getStatisticManager, toStringgetApplicationConfig, getApplicationContext, getLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannelconfigureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toDumpString, toStringpublic WebServer(ServerContext serverCtx) throws java.lang.Exception
java.lang.Exceptionpublic void addContextHandler(java.lang.String contextPath,
com.sun.net.httpserver.HttpHandler handler)
public void start()
public void close()
Copyright © 2012 EsprIT-Systems. All Rights Reserved.