Detecting when an embedded Jetty server is fully initialized.
        Posted  
        
            by Luke
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Luke
        
        
        
        Published on 2009-08-11T14:29:13Z
        Indexed on 
            2010/03/26
            0:33 UTC
        
        
        Read the original article
        Hit count: 522
        
jetty
|embedded-jetty
I have embedded Jetty in a java application and am calling the start() method on an instance of the Jetty server object (after setting a handler list which describes the location of the static and dynamic web content). Does the start() call block until initialization is complete? If not, how do I determine when the server is fully started and ready to receive requests?
© Stack Overflow or respective owner