Class 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 Detail

      • JettyHttpServer

        @Inject
        public JettyHttpServer​(com.yahoo.jdisc.service.CurrentContainer container,
                               com.yahoo.jdisc.Metric metric,
                               ServerConfig serverConfig,
                               ServletPathsConfig servletPathsConfig,
                               FilterBindings filterBindings,
                               Janitor janitor,
                               com.yahoo.component.provider.ComponentRegistry<ConnectorFactory> connectorFactories,
                               com.yahoo.component.provider.ComponentRegistry<org.eclipse.jetty.servlet.ServletHolder> servletHolders,
                               FilterInvoker filterInvoker,
                               RequestLog requestLog,
                               ConnectionLog connectionLog)
    • Method Detail

      • start

        public void start()
      • close

        public void close()
      • getListenPort

        public int getListenPort()