Class AbstractServerConfig

java.lang.Object
io.helidon.builder.config.spi.GeneratedConfigBeanBase
io.helidon.nima.webserver.AbstractServerConfig
All Implemented Interfaces:
ConfigProvider, GeneratedConfigBeanCommon, ServerConfig
Direct Known Subclasses:
DefaultServerConfig

@Generated(value="io.helidon.builder.config.processor.ConfigBeanBuilderCreator", comments="version=1") public abstract class AbstractServerConfig extends GeneratedConfigBeanBase implements ServerConfig
Abstract implementation w/ builder for ServerConfig.
  • Constructor Details

    • AbstractServerConfig

      protected AbstractServerConfig(AbstractServerConfig.Builder<?,?> b)
      Constructor using the builder argument.
      Parameters:
      b - the builder
  • Method Details

    • host

      public String host()
      Description copied from interface: ServerConfig
      Host of the default socket. Defaults to all host addresses (0.0.0.0).
      Specified by:
      host in interface ServerConfig
      Returns:
      host address to listen on (for the default socket)
    • port

      public int port()
      Description copied from interface: ServerConfig
      Port of the default socket. If configured to 0 (the default), server starts on a random port.
      Specified by:
      port in interface ServerConfig
      Returns:
      port to listen on (for the default socket)
    • __configBeanType

      public Class<?> __configBeanType()
      Specified by:
      __configBeanType in interface GeneratedConfigBeanCommon
    • __thisConfigBeanType

      public static Class<?> __thisConfigBeanType()
      Returns the ConfigBean type.
      Returns:
      the config bean type
    • __metaAttributes

      public static Map<String,Map<String,Object>> __metaAttributes()
      The map of meta attributes describing each element of this type.
      Returns:
      the map of meta attributes using the key being the attribute name
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toStringInner

      protected String toStringInner()
      Produces the inner portion of the toString() output (i.e., what is between the parens).
      Returns:
      portion of the toString output
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object another)
      Overrides:
      equals in class Object
    • visitAttributes

      public <T> void visitAttributes(io.helidon.builder.AttributeVisitor<T> visitor, T userDefinedCtx)
      Specified by:
      visitAttributes in interface GeneratedConfigBeanCommon