Class HttpServer


  • public class HttpServer
    extends java.lang.Object
    Since:
    4.4
    • Method Detail

      • start

        public void start()
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • awaitTermination

        public void awaitTermination​(long timeout,
                                     java.util.concurrent.TimeUnit timeUnit)
                              throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • shutdown

        public void shutdown​(long gracePeriod,
                             java.util.concurrent.TimeUnit timeUnit)