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 aServerBootstrapConfig
.
-
-
Field Summary
-
Fields inherited from class io.netty.bootstrap.AbstractBootstrapConfig
bootstrap
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<AttributeKey<?>,java.lang.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.java.util.Map<ChannelOption<?>,java.lang.Object>
childOptions()
Returns a copy of the configured options which will be used for the child channels.java.lang.String
toString()
-
Methods inherited from class io.netty.bootstrap.AbstractBootstrapConfig
attrs, channelFactory, 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 java.util.Map<ChannelOption<?>,java.lang.Object> childOptions()
Returns a copy of the configured options which will be used for the child channels.
-
childAttrs
public java.util.Map<AttributeKey<?>,java.lang.Object> childAttrs()
Returns a copy of the configured attributes which will be used for the child channels.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classAbstractBootstrapConfig<ServerBootstrap,ServerChannel>
-
-