Package io.netty.bootstrap
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 configuredChannelFactory
ornull
if non is configured yet.final EventLoopGroup
group()
Returns the configuredEventLoopGroup
ornull
if non is configured yet.final ChannelHandler
handler()
Returns the configuredChannelHandler
ornull
if non is configured yet.final SocketAddress
Returns the configured local address ornull
if 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 ornull
if non is configured yet. -
channelFactory
Returns the configuredChannelFactory
ornull
if non is configured yet. -
handler
Returns the configuredChannelHandler
ornull
if non is configured yet. -
options
Returns a copy of the configured options. -
attrs
Returns a copy of the configured attributes. -
group
Returns the configuredEventLoopGroup
ornull
if non is configured yet. -
toString
-