Class HttpServerHelper


  • public class HttpServerHelper
    extends NetServerHelper
    Internal HTTP server connector.
    • Field Detail

      • server

        private volatile com.sun.net.httpserver.HttpServer server
        The underlying HTTP server.
    • Constructor Detail

      • HttpServerHelper

        public HttpServerHelper​(Server server)
        Constructor.
        Parameters:
        server - The server to help.
    • Method Detail

      • start

        public void start()
                   throws java.lang.Exception
        Description copied from class: RestletHelper
        Start callback.
        Overrides:
        start in class NetServerHelper
        Throws:
        java.lang.Exception
      • stop

        public void stop()
                  throws java.lang.Exception
        Description copied from class: RestletHelper
        Stop callback.
        Overrides:
        stop in class NetServerHelper
        Throws:
        java.lang.Exception