Package io.netty.bootstrap
Class ServerBootstrapConfig
java.lang.Object
io.netty.bootstrap.AbstractBootstrapConfig<ServerBootstrap,ServerChannel>
io.netty.bootstrap.ServerBootstrapConfig
public final class ServerBootstrapConfig
extends AbstractBootstrapConfig<ServerBootstrap,ServerChannel>
Exposes the configuration of a
ServerBootstrapConfig
.-
Field Summary
Fields inherited from class io.netty.bootstrap.AbstractBootstrapConfig
bootstrap
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMap
<AttributeKey<?>, Object> Returns a copy of the configured attributes which will be used for the child channels.Returns the configuredEventLoopGroup
which will be used for the child channels ornull
if non is configured yet.Returns the configuredChannelHandler
be used for the child channels ornull
if non is configured yet.Map
<ChannelOption<?>, Object> Returns a copy of the configured options which will be used for the child channels.toString()
Methods inherited from class io.netty.bootstrap.AbstractBootstrapConfig
attrs, channelFactory, group, handler, localAddress, options
-
Constructor Details
-
ServerBootstrapConfig
ServerBootstrapConfig(ServerBootstrap bootstrap)
-
-
Method Details
-
childGroup
Returns the configuredEventLoopGroup
which will be used for the child channels ornull
if non is configured yet. -
childHandler
Returns the configuredChannelHandler
be used for the child channels ornull
if non is configured yet. -
childOptions
Returns a copy of the configured options which will be used for the child channels. -
childAttrs
Returns a copy of the configured attributes which will be used for the child channels. -
toString
- Overrides:
toString
in classAbstractBootstrapConfig<ServerBootstrap,
ServerChannel>
-