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
-
-
Constructor Summary
Constructors Constructor Description 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
int
getListenPort()
void
start()
-
Methods inherited from class com.yahoo.jdisc.AbstractResource
currentState, destroy, refer, refer, release, retainCount
-
-
-
-
Constructor Detail
-
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)
-
-