Class BootstrapConfig
Exposes the configuration of a
Bootstrap.-
Field Summary
Fields inherited from class AbstractBootstrapConfig
bootstrap -
Method Summary
Modifier and TypeMethodDescriptionReturns the configured remote address ornullif non is configured yet.resolver()Returns the configuredAddressResolverGroup,nullif resolver was disabled withBootstrap.disableResolver(), or the default if not configured yet.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 Channel> 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
-
remoteAddress
Returns the configured remote address ornullif non is configured yet. -
resolver
Returns the configuredAddressResolverGroup,nullif resolver was disabled withBootstrap.disableResolver(), or the default if not configured yet. -
toString
- Overrides:
toStringin classAbstractBootstrapConfig<Bootstrap, Channel>
-