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 AbstractBootstrapConfig
bootstrap -
Method Summary
Modifier and TypeMethodDescriptionMap<AttributeKey<?>, Object> Returns a copy of the configured attributes which will be used for the child channels.Returns the configuredEventLoopGroupwhich will be used for the child channels ornullif non is configured yet.Returns the configuredChannelHandlerbe used for the child channels ornullif 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 AbstractBootstrapConfig
attrs, channelFactory, group, handler, localAddress, optionsModifier and TypeMethodDescriptionfinal Map<AttributeKey<?>, Object> attrs()Returns a copy of the configured attributes.final ChannelFactory<? extends ServerChannel> Returns the configuredChannelFactoryornullif non is configured yet.final EventLoopGroupgroup()Returns the configuredEventLoopGroupornullif non is configured yet.final ChannelHandlerhandler()Returns the configuredChannelHandlerornullif non is configured yet.final SocketAddressReturns the configured local address ornullif non is configured yet.final Map<ChannelOption<?>, Object> options()Returns a copy of the configured options.
-
Method Details
-
childGroup
Returns the configuredEventLoopGroupwhich will be used for the child channels ornullif non is configured yet. -
childHandler
Returns the configuredChannelHandlerbe used for the child channels ornullif 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:
toStringin classAbstractBootstrapConfig<ServerBootstrap, ServerChannel>
-