question: public static void main ( final String [ ] args ) throws Exception { BasicConfigurator . configure ( ) ; Server server = new Server ( ) ; SslConnectionFactory sslConnectionFactory = new SslConnectionFactory ( ) ; SslContextFactory sslContextFactory = sslConnectionFactory . getSslContextFactory ( ) ; sslContextFactory . setKeyStorePath ( System . getProperty ( "javax.net.ssl.keyStore" ) ) ; sslContextFactory . setKeyStorePassword ( System . getProperty ( "javax.net.ssl.keyStorePassword" ) ) ; sslContextFactory . setIncludeCipherSuites ( Sdk . SUPPORTED_CIPHER_SUITES ) ; HttpConfiguration httpConf = new HttpConfiguration ( ) ; httpConf . setSecurePort ( PORT ) ; httpConf . setSecureScheme ( HTTPS_SCHEME ) ; httpConf . addCustomizer ( new SecureRequestCustomizer ( ) ) ; HttpConnectionFactory httpConnectionFactory = new HttpConnectionFactory ( httpConf ) ; ServerConnector serverConnector = new ServerConnector ( server , sslConnectionFactory , httpConnectionFactory ) ; serverConnector . setPort ( PORT ) ; Connector [ ] connectors = new Connector [ 1 ] ; connectors [ 0 ] = serverConnector ; server . setConnectors ( connectors ) ; ServletContextHandler context = new ServletContextHandler ( ServletContextHandler . SESSIONS ) ; context . setContextPath ( "/" ) ; server . setHandler ( context ) ; context . addServlet ( new ServletHolder ( createServlet ( new HelloWorldSpeechlet ( ) ) ) , "/hello" ) ; context . addServlet ( new ServletHolder ( createServlet ( new SessionSpeechlet ( ) ) ) , "/session" ) ; server . start ( ) ; server . join ( ) ; }
target:  Main entry point. Starts a Jetty server.