|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.server.handler.AbstractHandler
org.eclipse.jetty.server.handler.AbstractHandlerContainer
org.eclipse.jetty.server.handler.HandlerWrapper
org.eclipse.jetty.server.Server
org.mortbay.jetty.plugin.JettyServer
public class JettyServer
JettyServer Maven jetty plugin version of a wrapper for the Server class.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.jetty.server.Server |
---|
org.eclipse.jetty.server.Server.Graceful |
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle |
---|
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener |
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle |
---|
org.eclipse.jetty.util.component.LifeCycle.Listener |
Field Summary | |
---|---|
static int |
DEFAULT_MAX_IDLE_TIME
|
static int |
DEFAULT_PORT
|
Fields inherited from class org.eclipse.jetty.server.handler.HandlerWrapper |
---|
_handler |
Fields inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle |
---|
_listeners, FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPING |
Constructor Summary | |
---|---|
JettyServer()
|
Method Summary | |
---|---|
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(java.lang.String portnum)
|
void |
doStart()
|
void |
setRequestLog(org.eclipse.jetty.server.RequestLog requestLog)
|
Methods inherited from class org.eclipse.jetty.server.Server |
---|
addBean, addConnector, addLifeCycle, clearAttributes, doStop, dump, getAttribute, getAttributeNames, getBean, getBeans, getConnectors, getContainer, getGracefulShutdown, getMaxCookieVersion, getSendDateHeader, getSendServerVersion, getSessionIdManager, getStopAtShutdown, getThreadPool, getVersion, handle, handleAsync, join, main, removeAttribute, removeBean, removeConnector, removeLifeCycle, setAttribute, setConnectors, setGracefulShutdown, setMaxCookieVersion, setSendDateHeader, setSendServerVersion, setSessionIdManager, setStopAtShutdown, setThreadPool, toString |
Methods inherited from class org.eclipse.jetty.server.handler.HandlerWrapper |
---|
expandChildren, getHandler, getHandlers, getNestedHandlerByClass, handle, setHandler, setServer |
Methods inherited from class org.eclipse.jetty.server.handler.AbstractHandlerContainer |
---|
dumpHandlers, expandHandler, getChildHandlerByClass, getChildHandlers, getChildHandlersByClass |
Methods inherited from class org.eclipse.jetty.server.handler.AbstractHandler |
---|
destroy, dump, dump, getServer |
Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle |
---|
addLifeCycleListener, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.jetty.util.component.LifeCycle |
---|
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop |
Field Detail |
---|
public static int DEFAULT_PORT
public static int DEFAULT_MAX_IDLE_TIME
Constructor Detail |
---|
public JettyServer()
Method Detail |
---|
public void setRequestLog(org.eclipse.jetty.server.RequestLog requestLog)
public void doStart() throws java.lang.Exception
doStart
in class org.eclipse.jetty.server.Server
java.lang.Exception
Server.doStart()
public void addWebApplication(org.eclipse.jetty.webapp.WebAppContext webapp) throws java.lang.Exception
java.lang.Exception
HandlerCollection.addHandler(org.eclipse.jetty.server.Handler)
public void configureHandlers() throws java.lang.Exception
java.lang.Exception
public org.eclipse.jetty.server.Connector createDefaultConnector(java.lang.String portnum) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |