Class AbstractBootstrapConfig<B extends AbstractBootstrap<B,C> , C extends Channel >
java.lang.Object
io.netty.bootstrap.AbstractBootstrapConfig<B,C>
- Direct Known Subclasses:
BootstrapConfig, ServerBootstrapConfig
public abstract class AbstractBootstrapConfig<B extends AbstractBootstrap<B,C>, C extends Channel>
extends Object
Exposes the configuration of an
AbstractBootstrap.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Map<AttributeKey<?>, Object> attrs()Returns a copy of the configured attributes.final ChannelFactory<? extends C> 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.toString()
-
Field Details
-
bootstrap
-
-
Constructor Details
-
AbstractBootstrapConfig
-
-
Method Details
-
localAddress
Returns the configured local address ornullif non is configured yet. -
channelFactory
Returns the configuredChannelFactoryornullif non is configured yet. -
handler
Returns the configuredChannelHandlerornullif non is configured yet. -
options
Returns a copy of the configured options. -
attrs
Returns a copy of the configured attributes. -
group
Returns the configuredEventLoopGroupornullif non is configured yet. -
toString
-