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.SocketAddress
remoteAddress()
Returns the configured remote address ornull
if non is configured yet.AddressResolverGroup<?>
resolver()
Returns the configuredAddressResolverGroup
,null
if resolver was disabled withBootstrap.disableResolver()
, or the default if not configured yet.java.lang.String
toString()
-
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 ornull
if non is configured yet.
-
resolver
public AddressResolverGroup<?> resolver()
Returns the configuredAddressResolverGroup
,null
if resolver was disabled withBootstrap.disableResolver()
, or the default if not configured yet.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classAbstractBootstrapConfig<Bootstrap,Channel>
-
-