- 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.EventLoopGroup
childGroup()
Returns the configuredEventLoopGroup
which will be used for the child channels ornull
if non is configured yet.ChannelHandler
childHandler()
Returns the configuredChannelHandler
be used for the child channels ornull
if non is configured yet.Map<ChannelOption<?>,Object>
childOptions()
Returns a copy of the configured options which will be used for the child channels.String
toString()
-
Methods inherited from class io.netty5.bootstrap.AbstractBootstrapConfig
attrs, group, handler, localAddress, options
-
-
-
-
Method Detail
-
childGroup
public EventLoopGroup childGroup()
Returns the configuredEventLoopGroup
which will be used for the child channels ornull
if non is configured yet.
-
childHandler
public ChannelHandler childHandler()
Returns the configuredChannelHandler
be used for the child channels ornull
if 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:
channelFactory
in classAbstractBootstrapConfig<ServerBootstrap,ServerChannel,ServerChannelFactory<? extends ServerChannel>>
-
toString
public String toString()
- Overrides:
toString
in classAbstractBootstrapConfig<ServerBootstrap,ServerChannel,ServerChannelFactory<? extends ServerChannel>>
-
-