Interface ServerConfigurator

    • Method Detail

      • initialize

        int initialize​(int port)
        Initializes this server configurator
        Parameters:
        port - the HTTP port to use
        Returns:
        the actual port used
      • close

        void close()
        Closes this server configurator and releases resources.
      • start

        void start()
        Starts the server.
      • stop

        void stop()
        Stops the server.
      • addWepApp

        void addWepApp​(WebApplication descriptor)
        Adds a web app to the server.
        Parameters:
        descriptor - the descriptor
      • addFilter

        void addFilter​(FilterDescriptor descriptor)
        Adds a filter to the server.
        Parameters:
        descriptor - the descriptor