Package io.netty.bootstrap
Class BootstrapConfig
Exposes the configuration of a
Bootstrap.-
Field Summary
Fields inherited from class io.netty.bootstrap.AbstractBootstrapConfig
bootstrap -
Constructor Summary
Constructors -
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 io.netty.bootstrap.AbstractBootstrapConfig
attrs, channelFactory, group, handler, localAddress, options
-
Constructor Details
-
BootstrapConfig
BootstrapConfig(Bootstrap bootstrap)
-
-
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>
-