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 ornull
if non is configured yet.resolver()
Returns the configuredAddressResolverGroup
,null
if 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 ornull
if non is configured yet. -
resolver
Returns the configuredAddressResolverGroup
,null
if resolver was disabled withBootstrap.disableResolver()
, or the default if not configured yet. -
toString
- Overrides:
toString
in classAbstractBootstrapConfig<Bootstrap,
Channel>
-