Class JettyHttpServer
java.lang.Object
com.yahoo.jdisc.AbstractResource
com.yahoo.jdisc.service.AbstractServerProvider
com.yahoo.jdisc.http.server.jetty.JettyHttpServer
- All Implemented Interfaces:
com.yahoo.jdisc.service.ServerProvider
,com.yahoo.jdisc.SharedResource
public class JettyHttpServer
extends com.yahoo.jdisc.service.AbstractServerProvider
- Author:
- Simon Thoresen Hult, bjorncs
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.yahoo.jdisc.SharedResource
com.yahoo.jdisc.SharedResource.Debug
-
Field Summary
Fields inherited from interface com.yahoo.jdisc.SharedResource
DEBUG, SYSTEM_PROPERTY_NAME_DEBUG
-
Constructor Summary
ConstructorDescriptionJettyHttpServer
(com.yahoo.jdisc.service.CurrentContainer container, com.yahoo.jdisc.Metric metric, ServerConfig serverConfig, FilterBindings filterBindings, Janitor janitor, com.yahoo.component.provider.ComponentRegistry<ConnectorFactory> connectorFactories, RequestLog requestLog, ConnectionLog connectionLog) -
Method Summary
Methods inherited from class com.yahoo.jdisc.service.AbstractServerProvider
container
Methods inherited from class com.yahoo.jdisc.AbstractResource
currentState, destroy, refer, refer, release, retainCount
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.yahoo.jdisc.service.ServerProvider
isMultiplexed
Methods inherited from interface com.yahoo.jdisc.SharedResource
refer, refer, release
-
Constructor Details
-
JettyHttpServer
@Inject public JettyHttpServer(com.yahoo.jdisc.service.CurrentContainer container, com.yahoo.jdisc.Metric metric, ServerConfig serverConfig, FilterBindings filterBindings, Janitor janitor, com.yahoo.component.provider.ComponentRegistry<ConnectorFactory> connectorFactories, RequestLog requestLog, ConnectionLog connectionLog)
-
-
Method Details
-
start
public void start() -
close
public void close() -
getListenPort
public int getListenPort()
-