public final class Network extends Object
| Modifier and Type | Field and Description |
|---|---|
static InetAddress |
LOOPBACK
The loopback address (ie, ::1 or 127.0.0.1
|
static String |
LOOPBACK_HOSTNAME
The loopback hostname
|
| Modifier | Constructor and Description |
|---|---|
private |
Network()
Private constructor.
|
| Modifier and Type | Method and Description |
|---|---|
private static InetAddress |
getLoopbackAddress() |
private static String |
getLoopbackHostName() |
static String |
ldapLoopbackUrl(int port)
Construct a LDAP URL using the loopback address.
|
public static final InetAddress LOOPBACK
public static final String LOOPBACK_HOSTNAME
private static String getLoopbackHostName()
private static InetAddress getLoopbackAddress()
public static String ldapLoopbackUrl(int port)
port - The portCopyright © 2003–2017 The Apache Software Foundation. All rights reserved.