Package io.netty.bootstrap
Class BootstrapConfig
- java.lang.Object
-
- io.netty.bootstrap.AbstractBootstrapConfig<Bootstrap,Channel>
-
- io.netty.bootstrap.BootstrapConfig
-
public final class BootstrapConfig extends AbstractBootstrapConfig<Bootstrap,Channel>
Exposes the configuration of aBootstrap.
-
-
Field Summary
-
Fields inherited from class io.netty.bootstrap.AbstractBootstrapConfig
bootstrap
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.net.SocketAddressremoteAddress()Returns the configured remote address ornullif non is configured yet.AddressResolverGroup<?>resolver()Returns the configuredAddressResolverGroup,nullif resolver was disabled withBootstrap.disableResolver(), or the default if not configured yet.java.lang.StringtoString()-
Methods inherited from class io.netty.bootstrap.AbstractBootstrapConfig
attrs, channelFactory, group, handler, localAddress, options
-
-
-
-
Method Detail
-
remoteAddress
public java.net.SocketAddress remoteAddress()
Returns the configured remote address ornullif non is configured yet.
-
resolver
public AddressResolverGroup<?> 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>
-
-