Class BootstrapConfig
java.lang.Object
Exposes the configuration of a
Bootstrap.-
Field Summary
Fields inherited from class AbstractBootstrapConfig
bootstrap -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjava.net.SocketAddressReturns 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.java.lang.StringtoString()Methods inherited from class AbstractBootstrapConfig
attrs, channelFactory, group, handler, localAddress, optionsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
BootstrapConfig
BootstrapConfig(Bootstrap bootstrap)
-
-
Method Details
-
remoteAddress
public java.net.SocketAddress 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
public java.lang.String toString()- Overrides:
toStringin classAbstractBootstrapConfig<Bootstrap, Channel>
-