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 java.lang.Object
Exposes the configuration of an
AbstractBootstrap.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal java.util.Map<AttributeKey<?>, java.lang.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 java.net.SocketAddressReturns the configured local address ornullif non is configured yet.final java.util.Map<ChannelOption<?>, java.lang.Object> options()Returns a copy of the configured options.java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
bootstrap
-
-
Constructor Details
-
AbstractBootstrapConfig
-
-
Method Details
-
localAddress
public final java.net.SocketAddress 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
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-