- java.lang.Object
-
- io.netty5.bootstrap.AbstractBootstrapConfig<ServerBootstrap,ServerChannel,ServerChannelFactory<? extends ServerChannel>>
-
- io.netty5.bootstrap.ServerBootstrapConfig
-
public final class ServerBootstrapConfig extends AbstractBootstrapConfig<ServerBootstrap,ServerChannel,ServerChannelFactory<? extends ServerChannel>>
Exposes the configuration of aServerBootstrapConfig.
-
-
Field Summary
-
Fields inherited from class io.netty5.bootstrap.AbstractBootstrapConfig
bootstrap
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServerChannelFactory<? extends ServerChannel>channelFactory()Map<AttributeKey<?>,Object>childAttrs()Returns a copy of the configured attributes which will be used for the child channels.EventLoopGroupchildGroup()Returns the configuredEventLoopGroupwhich will be used for the child channels ornullif non is configured yet.ChannelHandlerchildHandler()Returns the configuredChannelHandlerbe used for the child channels ornullif non is configured yet.Map<ChannelOption<?>,Object>childOptions()Returns a copy of the configured options which will be used for the child channels.StringtoString()-
Methods inherited from class io.netty5.bootstrap.AbstractBootstrapConfig
attrs, group, handler, localAddress, options
-
-
-
-
Method Detail
-
childGroup
public EventLoopGroup childGroup()
Returns the configuredEventLoopGroupwhich will be used for the child channels ornullif non is configured yet.
-
childHandler
public ChannelHandler childHandler()
Returns the configuredChannelHandlerbe used for the child channels ornullif non is configured yet.
-
childOptions
public Map<ChannelOption<?>,Object> childOptions()
Returns a copy of the configured options which will be used for the child channels.
-
childAttrs
public Map<AttributeKey<?>,Object> childAttrs()
Returns a copy of the configured attributes which will be used for the child channels.
-
channelFactory
public ServerChannelFactory<? extends ServerChannel> channelFactory()
Description copied from class:AbstractBootstrapConfig- Specified by:
channelFactoryin classAbstractBootstrapConfig<ServerBootstrap,ServerChannel,ServerChannelFactory<? extends ServerChannel>>
-
toString
public String toString()
- Overrides:
toStringin classAbstractBootstrapConfig<ServerBootstrap,ServerChannel,ServerChannelFactory<? extends ServerChannel>>
-
-