Class WebListenerBase

    • Constructor Detail

      • WebListenerBase

        public WebListenerBase()
      • WebListenerBase

        public WebListenerBase​(String id,
                               int port)
    • Method Detail

      • setId

        public void setId​(String id)
        Sets the id for this WebListener.
        Specified by:
        setId in interface WebListener
        Parameters:
        id - for this WebListener
      • getId

        public String getId()
        Gets the id of this WebListener.
        Specified by:
        getId in interface WebListener
        Returns:
        id of this WebListener
      • getConfig

        public WebListenerConfig getConfig()
        Gets the current configuration of this WebListener.
        Specified by:
        getConfig in interface WebListener
        Returns:
        the current configuration of this WebListener, or null if no special configuration was ever applied to this WebListener
      • setPort

        public void setPort​(int port)
        Sets the port number for this WebListener.
        Specified by:
        setPort in interface WebListener
        Parameters:
        port - the port number for this WebListener
      • getPort

        public int getPort()
        Gets the port number of this WebListener.
        Specified by:
        getPort in interface WebListener
        Returns:
        the port number of this WebListener
      • setProtocol

        public void setProtocol​(String protocol)
        Sets the protocol which will be used by this WebListener.
        Specified by:
        setProtocol in interface WebListener
        Parameters:
        protocol - the protocol for this WebListener
      • getProtocol

        public String getProtocol()
        Gets the protocol used by this WebListener.
        Specified by:
        getProtocol in interface WebListener
        Returns:
        the protocol of this WebListener
      • setWebContainer

        public void setWebContainer​(WebContainer webContainer)
        Sets the WebContainer which will be used by this WebListener.
        Specified by:
        setWebContainer in interface WebListener