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.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAbstractServerConfig.Builder<B extends AbstractServerConfig.Builder<B,T>, T extends ServerConfig> Fluent API builder forT. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor using the builder argument. -
Method Summary
Modifier and TypeMethodDescriptionClass<?>The map of meta attributes describing each element of this type.static Class<?>Returns theConfigBeantype.booleaninthashCode()host()Host of the default socket.intport()Port of the default socket.toString()protected StringProduces the inner portion of the toString() output (i.e., what is between the parens).<T> voidvisitAttributes(io.helidon.builder.AttributeVisitor<T> visitor, T userDefinedCtx) Methods inherited from class io.helidon.builder.config.spi.GeneratedConfigBeanBase
__config, __instanceId, __instanceId
-
Constructor Details
-
AbstractServerConfig
Constructor using the builder argument.- Parameters:
b- the builder
-
-
Method Details
-
host
Description copied from interface:ServerConfigHost of the default socket. Defaults to all host addresses (0.0.0.0).- Specified by:
hostin interfaceServerConfig- Returns:
- host address to listen on (for the default socket)
-
port
public int port()Description copied from interface:ServerConfigPort of the default socket. If configured to0(the default), server starts on a random port.- Specified by:
portin interfaceServerConfig- Returns:
- port to listen on (for the default socket)
-
__configBeanType
- Specified by:
__configBeanTypein interfaceGeneratedConfigBeanCommon
-
__thisConfigBeanType
Returns theConfigBeantype.- Returns:
- the config bean type
-
__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
-
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() -
equals
-
visitAttributes
public <T> void visitAttributes(io.helidon.builder.AttributeVisitor<T> visitor, T userDefinedCtx) - Specified by:
visitAttributesin interfaceGeneratedConfigBeanCommon
-