Interface NetworkListener

All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.config.types.PropertyBag

public interface NetworkListener extends org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.config.types.PropertyBag
Binds protocol to a specific endpoint to listen on
  • Field Details

  • Method Details

    • getAddress

      @NetworkAddress String getAddress()
      IP address to listen on
    • setAddress

      void setAddress(String value)
    • getEnabled

      String getEnabled()
      If false, a configured listener, is disabled
    • setEnabled

      void setEnabled(String enabled)
    • getJkConfigurationFile

      String getJkConfigurationFile()
    • setJkConfigurationFile

      void setJkConfigurationFile(String file)
    • getJkEnabled

      String getJkEnabled()
      If true, a jk listener is enabled
    • setJkEnabled

      void setJkEnabled(String enabled)
    • getName

      String getName()
      Network-listener name, which could be used as reference
    • setName

      void setName(String value)
    • getType

      @Pattern(regexp="(standard|proxy)", message="Valid values: (standard|proxy)") @Pattern(regexp="(standard|proxy)",message="Valid values: (standard|proxy)") String getType()
      Network-listener name, which could be used as reference
    • setType

      void setType(String type)
    • getPort

      @Range(min=0, max=65535) String getPort()
      Port to listen on
    • setPort

      void setPort(String value)
    • getProtocol

      String getProtocol()
      Reference to a protocol
    • setProtocol

      void setProtocol(String value)
    • getThreadPool

      String getThreadPool()
      Reference to a thread-pool, defined earlier in the document.
    • setThreadPool

      void setThreadPool(String value)
    • getTransport

      String getTransport()
      Reference to a low-level transport
    • setTransport

      void setTransport(String value)
    • findHttpProtocol

      @DuckTyped Protocol findHttpProtocol()
    • findHttpProtocolName

      @DuckTyped String findHttpProtocolName()
    • findProtocol

      @DuckTyped Protocol findProtocol()
    • findThreadPool

      @DuckTyped ThreadPool findThreadPool()
    • findTransport

      @DuckTyped Transport findTransport()
    • getParent

      @DuckTyped NetworkListeners getParent()
      Specified by:
      getParent in interface org.jvnet.hk2.config.ConfigBeanProxy