Class WebListenerConfig


  • public class WebListenerConfig
    extends Object
    Class that is used for configuring WebListener instances.
    See Also:
    WebListener
    • Constructor Detail

      • WebListenerConfig

        public WebListenerConfig​(String id,
                                 int port)
      • WebListenerConfig

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

      • setId

        public void setId​(String id)
        Sets the id used for configuring WebListener.
      • getId

        public String getId()
        Gets the id used for configuring WebListener.
      • setPort

        public void setPort​(int port)
        Sets the port number used for configuring WebListener.
      • getPort

        public int getPort()
        Gets the port number used for configuring WebListener.
      • setProtocol

        public void setProtocol​(String protocol)
        Sets the protocol used for configuring WebListener.
      • getProtocol

        public String getProtocol()
        Gets the protocol used for configuring WebListener.
      • setTraceEnabled

        public void setTraceEnabled​(boolean traceEnabled)
        Enables or disables support for TRACE requests.
        Parameters:
        traceEnabled - true if support for TRACE requests is to be enabled, false otherwise
      • isTraceEnabled

        public boolean isTraceEnabled()
        Checks if support for TRACE requests is enabled.
        Returns:
        true if support for TRACE requests is enabled, false otherwise