public final class UnixTestUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static io.netty.channel.unix.DomainSocketAddress |
newDomainSocketAddress() |
static SocketAddress |
newInetLoopbackSocketAddress()
The JDK method may produce IPv4 loopback addresses where
NetUtil.LOCALHOST might be an
IPv6 addresses. |
static io.netty.channel.unix.DomainSocketAddress |
newSocketAddress()
Deprecated.
Use
newDomainSocketAddress() instead. |
@Deprecated public static io.netty.channel.unix.DomainSocketAddress newSocketAddress()
newDomainSocketAddress() instead.public static io.netty.channel.unix.DomainSocketAddress newDomainSocketAddress()
public static SocketAddress newInetLoopbackSocketAddress()
NetUtil.LOCALHOST might be an
IPv6 addresses.
This difference can stress the system in different ways that are important to test.Copyright © 2008–2022 The Netty Project. All rights reserved.