public class JettyServer
extends org.eclipse.jetty.server.Server
org.eclipse.jetty.server.Server.Graceful| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_MAX_IDLE_TIME |
static int |
DEFAULT_PORT |
| Constructor and Description |
|---|
JettyServer() |
| Modifier and Type | Method and Description |
|---|---|
void |
addWebApplication(org.eclipse.jetty.webapp.WebAppContext webapp) |
void |
configureHandlers()
Set up the handler structure to receive a webapp.
|
org.eclipse.jetty.server.Connector |
createDefaultConnector(String portnum) |
void |
doStart() |
void |
setRequestLog(org.eclipse.jetty.server.RequestLog requestLog) |
addBean, addConnector, addLifeCycle, clearAttributes, doStop, dump, getAttribute, getAttributeNames, getConnectors, getContainer, getGracefulShutdown, getMaxCookieVersion, getSendDateHeader, getSendServerVersion, getSessionIdManager, getStopAtShutdown, getThreadPool, getVersion, handle, handleAsync, isDumpAfterStart, isDumpBeforeStop, isUncheckedPrintWriter, join, main, removeAttribute, removeBean, removeConnector, removeLifeCycle, setAttribute, setConnectors, setDumpAfterStart, setDumpBeforeStop, setGracefulShutdown, setMaxCookieVersion, setSendDateHeader, setSendServerVersion, setSessionIdManager, setStopAtShutdown, setThreadPool, setUncheckedPrintWriter, toStringdestroy, expandChildren, getHandler, getHandlers, getNestedHandlerByClass, handle, setHandler, setServerexpandHandler, findContainerOf, getChildHandlerByClass, getChildHandlers, getChildHandlersByClassaddBean, contains, dump, dump, dump, dump, dumpObject, dumpStdErr, getBean, getBeans, getBeans, isManaged, manage, removeBeans, unmanageaddLifeCycleListener, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stoppublic static int DEFAULT_PORT
public static int DEFAULT_MAX_IDLE_TIME
public void setRequestLog(org.eclipse.jetty.server.RequestLog requestLog)
public void doStart()
throws Exception
doStart in class org.eclipse.jetty.server.ServerExceptionServer.doStart()public void addWebApplication(org.eclipse.jetty.webapp.WebAppContext webapp)
throws Exception
ExceptionHandlerCollection.addHandler(org.eclipse.jetty.server.Handler)public void configureHandlers()
throws Exception
ExceptionCopyright © 1995-2014 Mort Bay Consulting. All Rights Reserved.