public static class SocketAddress.Builder extends Object implements Builder<SocketAddress>
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
SocketAddress |
build()
Builds the object after all configuration has been set.
|
SocketAddress.Builder |
setHost(InetAddress host) |
SocketAddress.Builder |
setPort(int port) |
public SocketAddress.Builder setHost(InetAddress host)
public SocketAddress.Builder setPort(int port)
public SocketAddress build()
Builderbuild in interface Builder<SocketAddress>Copyright © 1999-2017. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.